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 1:
(946 comments)
File Transceiver52M/grgsm_vitac/constants.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9c765206_28929c41
PS1, Line 1: #pragma once
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/250b56b8_6998c832
PS1, Line 2: /* -*- c++ -*- */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a8e58380_ab353244
PS1, Line 3: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9bbd76eb_8ad83e0e
PS1, Line 4: * @file
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bcc44498_f146212a
PS1, Line 5: * @author (C) 2009-2017 by Piotr Krysik <ptrkrysik(a)gmail.com>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/78ac416e_b0e69b54
PS1, Line 6: * @section LICENSE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/36453a23_27b1c099
PS1, Line 7: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4d9ac085_c9939edc
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2a929f71_797eb401
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a2e2a0ac_976a95f9
PS1, Line 10: * the Free Software Foundation; either version 3, or (at your option)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/71230916_cdd72af8
PS1, Line 11: * any later version.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1d3cdce5_206bc841
PS1, Line 12: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ef22c058_bda85972
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1a7ae5d1_2d48edc1
PS1, Line 14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4bd26d71_1746d0dd
PS1, Line 15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5b3a6c98_278b329b
PS1, Line 16: * GNU General Public License for more details.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/15630a2a_e5dacf42
PS1, Line 17: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/be3dde20_c73f9125
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/791803ae_72348dce
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1790ffec_94b444b6
PS1, Line 20: * the Free Software Foundation, Inc., 51 Franklin Street,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4aff52df_96acdf98
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/413b8940_3a2c7659
PS1, Line 21: * Boston, MA 02110-1301, USA.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c67528de_2e056cb4
PS1, Line 22: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/27beaac5_0bf5c52b
PS1, Line 23:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2c7e0363_0c9e4acf
PS1, Line 24: #include <complex>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e5e5efaa_b581901b
PS1, Line 25:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aea7ce8f_2b5e49bb
PS1, Line 26: #define gr_complex std::complex<float>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/08a2c2b3_eedce1d9
PS1, Line 26: #define gr_complex std::complex<float>
spaces required around that '<' (ctx:VxV)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b32d756a_83a54211
PS1, Line 26: #define gr_complex std::complex<float>
spaces required around that '>' (ctx:VxW)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2616a319_1ac735dc
PS1, Line 27:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5893403a_ef75b046
PS1, Line 28:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/613391fc_8f2c5929
PS1, Line 29: #define GSM_SYMBOL_RATE (1625000.0/6.0) //symbols per second
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/53ca57ff_81e53370
PS1, Line 30: #define GSM_SYMBOL_PERIOD (1.0/GSM_SYMBOL_RATE) //seconds per symbol
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/622e8ead_86fa8e27
PS1, Line 31:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a4841e8f_36182df7
PS1, Line 32: //Burst timing
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fe198116_b43a2b45
PS1, Line 33: #define TAIL_BITS 3
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/513fd8d2_d275fbc7
PS1, Line 34: #define GUARD_BITS 8
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/37514408_b13c3517
PS1, Line 35: #define GUARD_FRACTIONAL 0.25 //fractional part of guard period
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/36902134_ad2549c3
PS1, Line 36: #define GUARD_PERIOD GUARD_BITS + GUARD_FRACTIONAL
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/01724171_7f26917a
PS1, Line 37: #define DATA_BITS 57 //size of 1 data block in normal burst
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7a202eb5_eb062a70
PS1, Line 38: #define STEALING_BIT 1
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/966fb927_0c7bfe40
PS1, Line 39: #define N_TRAIN_BITS 26
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d434c6a1_256c57e9
PS1, Line 40: #define N_SYNC_BITS 64
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5c621408_220202fa
PS1, Line 41: #define USEFUL_BITS 142 //(2*(DATA_BITS+STEALING_BIT) + N_TRAIN_BITS
)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/39f1fc5c_53b5a75a
PS1, Line 42: #define FCCH_BITS USEFUL_BITS
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/710bc0e9_462ffc89
PS1, Line 43: #define BURST_SIZE (USEFUL_BITS+2*TAIL_BITS)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e9e48e15_edc84899
PS1, Line 44: #define ACCESS_BURST_SIZE 88
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/972dc4d3_78689808
PS1, Line 45: #define PROCESSED_CHUNK BURST_SIZE+2*GUARD_PERIOD
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f1342ecf_08493315
PS1, Line 46:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e0f52a5d_3ed2b69a
PS1, Line 47: #define SCH_DATA_LEN 39
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6d198e39_d21d1e7f
PS1, Line 48: #define TS_BITS (TAIL_BITS+USEFUL_BITS+TAIL_BITS+GUARD_BITS) //a
full TS (156 bits)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cf394a14_3f04d6e5
PS1, Line 49: #define TS_PER_FRAME 8
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e49b753f_509985c4
PS1, Line 50: #define FRAME_BITS (TS_PER_FRAME * TS_BITS + 2) // 156.25 * 8
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c7a179d2_05a6d9b4
PS1, Line 51: #define FCCH_POS TAIL_BITS
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/42440848_b119a77b
PS1, Line 52: #define SYNC_POS (TAIL_BITS + 39)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/149a24f4_08598026
PS1, Line 53: #define TRAIN_POS ( TAIL_BITS + (DATA_BITS+STEALING_BIT) + 5)
//first 5 bits of a training sequence
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d54b5ad0_93c25c9f
PS1, Line 53: #define TRAIN_POS ( TAIL_BITS + (DATA_BITS+STEALING_BIT) + 5)
//first 5 bits of a training sequence
space prohibited after that open parenthesis '('
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e77131a5_6dd73eab
PS1, Line 54: //aren't used for channel impulse response estimation
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/297aa079_125f5791
PS1, Line 55: #define TRAIN_BEGINNING 5
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a7d1aa34_b7649147
PS1, Line 56: #define SAFETY_MARGIN 6 //
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/19e26741_af0c1f07
PS1, Line 57:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/443339b1_baadc3c1
PS1, Line 58: #define FCCH_HITS_NEEDED (USEFUL_BITS - 4)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/77f3383e_980a48c8
PS1, Line 59: #define FCCH_MAX_MISSES 1
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6c541c4a_c7951267
PS1, Line 60: #define FCCH_MAX_FREQ_OFFSET 100
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/593bfe4f_e742f9c4
PS1, Line 61:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e1351f17_892e7d56
PS1, Line 62: #define CHAN_IMP_RESP_LENGTH 5
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0f503c4d_b224b4e8
PS1, Line 63:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f2c0f49a_bf2ecba6
PS1, Line 64: #define MAX_SCH_ERRORS 10 //maximum number of subsequent sch errors
after which gsm receiver goes to find_next_fcch state
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/817b6e83_c4e037fc
PS1, Line 65:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f5fdf0e9_36c3addd
PS1, Line 66: typedef enum { empty, fcch_burst, sch_burst, normal_burst, rach_burst,
dummy, dummy_or_normal, normal_or_noise } burst_type;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1adffe2f_98eff1ea
PS1, Line 66: typedef enum { empty, fcch_burst, sch_burst, normal_burst, rach_burst,
dummy, dummy_or_normal, normal_or_noise } burst_type;
do not add new typedefs
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e2af1517_5469e19e
PS1, Line 67: typedef enum { unknown, multiframe_26, multiframe_51 } multiframe_type;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a41306db_2e9bf8ed
PS1, Line 67: typedef enum { unknown, multiframe_26, multiframe_51 } multiframe_type;
do not add new typedefs
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7b425568_1ba2b4f0
PS1, Line 68:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3500c1f1_d4ecce6f
PS1, Line 69: static const unsigned char SYNC_BITS[] = {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5c25a2e5_337ddd6a
PS1, Line 70: 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dee1b668_5340f777
PS1, Line 70: 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0cab3188_11cc06a6
PS1, Line 71: 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d8283ff5_48aff324
PS1, Line 71: 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ced30781_8d92f890
PS1, Line 72: 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0eb09f22_baa279ce
PS1, Line 72: 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/02bb6a45_71633152
PS1, Line 73: 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/771e3d1e_2762251b
PS1, Line 73: 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ca223170_91aec175
PS1, Line 74: };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0150c868_73d5beda
PS1, Line 75:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d1ae47b8_51ab1197
PS1, Line 76: const unsigned FCCH_FRAMES[] = { 0, 10, 20, 30, 40 };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/090335e9_013732c1
PS1, Line 77: const unsigned SCH_FRAMES[] = { 1, 11, 21, 31, 41 };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6993f3cd_b01ad354
PS1, Line 78:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/83c4d3d5_03ce16b0
PS1, Line 79: const unsigned BCCH_FRAMES[] = { 2, 3, 4, 5 }; //!!the receiver
shouldn't care about logical
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/21c7d31a_7948b2da
PS1, Line 80: //!!channels so this will be removed from this header
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/66ef0223_41d99c89
PS1, Line 81: const unsigned TEST_CCH_FRAMES[] = { 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14, 15,
16, 17, 18, 19, 22, 23, 24, 25, 26, 27, 28, 29, 32, 33, 34, 35, 36, 37, 38, 39, 42, 43,
44, 45, 46, 47, 48, 49 };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3e7a30ef_cdb49fbc
PS1, Line 82: const unsigned TRAFFIC_CHANNEL_F[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f476616d_dcf283ad
PS1, Line 83: const unsigned TEST51[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50 };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c4469eab_6e584bcd
PS1, Line 84:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b12a5518_51e8d668
PS1, Line 85:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e81046c8_89bffc11
PS1, Line 86: #define TSC0 0
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/083aa607_729b5177
PS1, Line 87: #define TSC1 1
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e9ceb949_e257dad6
PS1, Line 88: #define TSC2 2
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/521d7950_c975d27c
PS1, Line 89: #define TSC3 3
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/46937a45_143bdc5c
PS1, Line 90: #define TSC4 4
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c0dd1923_772c8d96
PS1, Line 91: #define TSC5 5
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f59c29de_b50fe42e
PS1, Line 92: #define TSC6 6
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/68b09481_51c3b64e
PS1, Line 93: #define TSC7 7
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/43ac62d7_2be838ac
PS1, Line 94: #define TS_DUMMY 8
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e196663b_60289e82
PS1, Line 95:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0cda597e_a50f60d3
PS1, Line 96: #define TRAIN_SEQ_NUM 9
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d99f6502_fdbaa4f2
PS1, Line 97:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3d7947c0_4b684dd8
PS1, Line 98: #define TIMESLOT0 0
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/588adf83_f28bddea
PS1, Line 99: #define TIMESLOT1 1
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3be8da3a_f8357069
PS1, Line 100: #define TIMESLOT2 2
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1aa3427d_3ee7e06b
PS1, Line 101: #define TIMESLOT3 3
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/db6acf66_61d96d63
PS1, Line 102: #define TIMESLOT4 4
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/92699d73_95bf00f9
PS1, Line 103: #define TIMESLOT5 5
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9f4228d4_574db7e7
PS1, Line 104: #define TIMESLOT6 6
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/562ea229_0de9b05a
PS1, Line 105: #define TIMESLOT7 7
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2799eb4e_ccecfb9e
PS1, Line 106:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/279fc43c_b217a68a
PS1, Line 107:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/373d978e_cf16342f
PS1, Line 108: static const unsigned char train_seq[TRAIN_SEQ_NUM][N_TRAIN_BITS] = {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/179c0224_dae2cb90
PS1, Line 109: {0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1,
1, 1},
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bd39411b_467c2dac
PS1, Line 109: {0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1,
1, 1},
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0a8d17d3_5504f188
PS1, Line 110: {0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1,
1, 1},
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5a1c1d54_6f572df9
PS1, Line 110: {0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1,
1, 1},
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f081c838_f080f1f7
PS1, Line 111: {0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1,
1, 0},
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/66a3655f_d2f8a928
PS1, Line 111: {0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1,
1, 0},
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6957beb8_637a09ca
PS1, Line 112: {0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1,
1, 0},
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/74216fc5_c296bef4
PS1, Line 112: {0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1,
1, 0},
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8410d7f6_4379b418
PS1, Line 113: {0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0,
1, 1},
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3461c2e6_4336502a
PS1, Line 113: {0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0,
1, 1},
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eaba18d5_d00d217c
PS1, Line 114: {0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0,
1, 0},
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/68a4128b_8716da72
PS1, Line 114: {0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0,
1, 0},
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/daabad89_8d5a8be4
PS1, Line 115: {1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1,
1, 1},
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/95cb21e9_5bfd9945
PS1, Line 115: {1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1,
1, 1},
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3c91e97e_6229b943
PS1, Line 116: {1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1,
0, 0},
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c280b845_2f3cdb14
PS1, Line 116: {1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1,
0, 0},
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/56a56934_0f85b845
PS1, Line 117: {0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1,
0, 1} // DUMMY
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a10f61f8_0c4e83d5
PS1, Line 117: {0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1,
0, 1} // DUMMY
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a15bf9e5_5df1d822
PS1, Line 118: };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/179674a4_256d7ce1
PS1, Line 119:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/821983bf_58529e35
PS1, Line 120:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a957b17a_86f7cd7b
PS1, Line 121: //Dummy burst 0xFB 76 0A 4E 09 10 1F 1C 5C 5C 57 4A 33 39 E9 F1 2F A8
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1c004521_284e3c28
PS1, Line 122: static const unsigned char dummy_burst[] = {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/470d6721_73c9d20f
PS1, Line 123: 0, 0, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/94624cc5_3934d621
PS1, Line 123: 0, 0, 0,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a02a0559_d6ffe612
PS1, Line 124: 1, 1, 1, 1, 1, 0, 1, 1, 0, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9cf91cda_2d7181a7
PS1, Line 124: 1, 1, 1, 1, 1, 0, 1, 1, 0, 1,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c1ab605f_692b4270
PS1, Line 125: 1, 1, 0, 1, 1, 0, 0, 0, 0, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/23539071_453c1bbe
PS1, Line 125: 1, 1, 0, 1, 1, 0, 0, 0, 0, 0,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2d64fab7_b464cdff
PS1, Line 126: 1, 0, 1, 0, 0, 1, 0, 0, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/563e3a72_1456ee59
PS1, Line 126: 1, 0, 1, 0, 0, 1, 0, 0, 1, 1,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/11e4ae72_16872808
PS1, Line 127: 1, 0, 0, 0, 0, 0, 1, 0, 0, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fa7012bb_e34b1aa4
PS1, Line 127: 1, 0, 0, 0, 0, 0, 1, 0, 0, 1,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4077095b_3e0ce536
PS1, Line 128: 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/48f13672_6aa387fe
PS1, Line 128: 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6db899d0_becd5dda
PS1, Line 129: 0, 1, 1, 1, 1, 1, 0, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b936c234_10121971
PS1, Line 129: 0, 1, 1, 1, 1, 1, 0, 0,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/593d5ee3_fbdd8b90
PS1, Line 130:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ab770e95_7e0ca95c
PS1, Line 131: 0, 1, 1, 1, 0, 0, 0, 1, 0, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eb6715ff_1acc5ae6
PS1, Line 131: 0, 1, 1, 1, 0, 0, 0, 1, 0, 1,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/faf50c0c_38637a19
PS1, Line 132: 1, 1, 0, 0, 0, 1, 0, 1, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e7e3dc74_31aef2a3
PS1, Line 132: 1, 1, 0, 0, 0, 1, 0, 1, 1, 1,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f1968a1d_e1c79484
PS1, Line 133: 0, 0, 0, 1, 0, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/861c3c02_a5a96e0a
PS1, Line 133: 0, 0, 0, 1, 0, 1,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8206cd08_d7c1075f
PS1, Line 134:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d6f3664c_1471e5c9
PS1, Line 135: 0, 1, 1, 1, 0, 1, 0, 0, 1, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/470305f0_c02f5109
PS1, Line 135: 0, 1, 1, 1, 0, 1, 0, 0, 1, 0,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fa56e667_dcb3a76e
PS1, Line 136: 1, 0, 0, 0, 1, 1, 0, 0, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/551b49aa_96c22632
PS1, Line 136: 1, 0, 0, 0, 1, 1, 0, 0, 1, 1,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/031d5186_7cb28672
PS1, Line 137: 0, 0, 1, 1, 1, 0, 0, 1, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/09fec686_68bcd2d2
PS1, Line 137: 0, 0, 1, 1, 1, 0, 0, 1, 1, 1,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/958e19a8_66e2385e
PS1, Line 138: 1, 0, 1, 0, 0, 1, 1, 1, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9a2e76d5_7bfcdd46
PS1, Line 138: 1, 0, 1, 0, 0, 1, 1, 1, 1, 1,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a9381a29_41e9007c
PS1, Line 139: 0, 0, 0, 1, 0, 0, 1, 0, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b93e5a41_405c534d
PS1, Line 139: 0, 0, 0, 1, 0, 0, 1, 0, 1, 1,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/db9b8795_30c5875e
PS1, Line 140: 1, 1, 1, 0, 1, 0, 1, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7b6a124e_661b5c95
PS1, Line 140: 1, 1, 1, 0, 1, 0, 1, 0,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ad09e3cf_93d98360
PS1, Line 141: 0, 0, 0
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9c92c6e6_734a572b
PS1, Line 141: 0, 0, 0
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2b990414_589c4398
PS1, Line 142: };
DOS line endings
File Transceiver52M/grgsm_vitac/grgsm_vitac.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1148acb5_bad53f0a
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5bf11ce9_cfb2920c
PS1, Line 38: void initvita();
Bad function definition - void initvita() should probably be void initvita(void)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/27dba7f0_3ad9739c
PS1, Line 59: std::string fpath;
labels should not be indented
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4722701c_7ef552b2
PS1, Line 60: std::vector<gr_complex> data;
spaces required around that '<' (ctx:VxV)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3298974a_413c4e4a
PS1, Line 60: std::vector<gr_complex> data;
spaces required around that '>' (ctx:VxW)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f44a7eae_d69145aa
PS1, Line 60: std::vector<gr_complex> data;
labels should not be indented
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/00fd018a_5e3ab623
PS1, Line 62: };
adding a line without newline at end of file
File Transceiver52M/grgsm_vitac/grgsm_vitac.cpp:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e9e404a4_220bb2c1
PS1, Line 1: /* -*- c++ -*- */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/31021824_ef89c294
PS1, Line 2: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e8fb9091_3152b7f1
PS1, Line 3: * @file
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cb15089d_55a0baa6
PS1, Line 4: * @author (C) 2009-2017 by Piotr Krysik <ptrkrysik(a)gmail.com>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/742eba2b_b1fe2445
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a1553997_e73af833
PS1, Line 6: * @section LICENSE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/598a472e_9abb75d3
PS1, Line 7: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c04ead3e_4b26b5e0
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a5b38038_7d0b021e
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6e1ca4c0_081865ce
PS1, Line 10: * the Free Software Foundation; either version 3, or (at your option)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/65395f49_3b599d0e
PS1, Line 11: * any later version.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/06a0756c_4008e2ce
PS1, Line 12: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5b520ced_30692def
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f9939643_48e4894c
PS1, Line 14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/29735ff0_91f0ff1d
PS1, Line 15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/98f37b70_a5978e62
PS1, Line 16: * GNU General Public License for more details.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ab7fab40_d1f63522
PS1, Line 17: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fa10b383_bb8050cd
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7f100b2a_9d7cb489
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4d4f628f_9800947c
PS1, Line 20: * the Free Software Foundation, Inc., 51 Franklin Street,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4086fa39_44067ad6
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/724bf63c_a36a1dae
PS1, Line 21: * Boston, MA 02110-1301, USA.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b2c12303_6a313ce1
PS1, Line 22: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/69640a0c_dee8ac8c
PS1, Line 23:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4a9765dd_49a02b6e
PS1, Line 24: #include "constants.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/555c976d_484982fe
PS1, Line 25:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cef5791f_19012566
PS1, Line 26: #ifdef HAVE_CONFIG_H
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b86cc147_edc03925
PS1, Line 27: #include "config.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e8d683f0_91f70a24
PS1, Line 28: #endif
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7be12d56_ef28de9f
PS1, Line 29: #include <complex>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ce6be2fa_0da118c6
PS1, Line 30:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a2427629_74ac9f6a
PS1, Line 31:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0632632e_db4ef010
PS1, Line 32: #include <algorithm>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c2f7cd34_a8d2ef20
PS1, Line 33: #include <string.h>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9c87136c_af5af13f
PS1, Line 34: #include <iostream>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fcbfabfe_f4f6c693
PS1, Line 35: #include <numeric>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/17ccb919_e5857cff
PS1, Line 36: #include <vector>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7294e941_a29053e1
PS1, Line 37: #include <fstream>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/db12aa74_ce18fc9e
PS1, Line 38:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a7230647_17f6b557
PS1, Line 39: #include "viterbi_detector.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5f65719e_97393535
PS1, Line 40: #include "grgsm_vitac.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eb4aa1fe_a91464ad
PS1, Line 41:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/116e9b2d_686de85e
PS1, Line 42: //signalVector mChanResp;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7c9be3ce_13b94574
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f5cf5952_7486067c
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c1c3fa6d_58b3dbb7
PS1, Line 45: const int d_chan_imp_length = CHAN_IMP_RESP_LENGTH;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/08e6f578_5eadd93d
PS1, Line 46:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ff08f065_44c0ba89
PS1, Line 47: void initvita() {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d57ebb10_74f49821
PS1, Line 48:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4a1866fc_76ca241a
PS1, Line 49: /**
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/85cc1489_91d4a1b0
PS1, Line 50: * Prepare SCH sequence bits
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1a6d037a_264d92cd
PS1, Line 51: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f4a3c722_5e8c206e
PS1, Line 52: * (TS_BITS + 2 * GUARD_PERIOD)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c0317ceb_a9942226
PS1, Line 53: * Burst and two guard periods
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3dbf4760_6957fe1b
PS1, Line 54: * (one guard period is an arbitrary overlap)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6ecfadf6_5e22ace9
PS1, Line 55: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6d043030_8288781d
PS1, Line 56: gmsk_mapper(SYNC_BITS, N_SYNC_BITS,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c0ac8e5c_4619f9db
PS1, Line 57: d_sch_training_seq, gr_complex(0.0, -1.0));
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a5e72d24_236b7e9f
PS1, Line 58: for (auto &i : d_sch_training_seq)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/77242751_c2337426
PS1, Line 59: i = conj(i);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b94286fe_3b6eb654
PS1, Line 60:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/67370989_2f770a54
PS1, Line 61: /* Prepare bits of training sequences */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8d7267a3_7461436b
PS1, Line 62: for (int i = 0; i < TRAIN_SEQ_NUM; i++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d446e2a8_b539ddf2
PS1, Line 63: /**
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eaf63a51_7831cd59
PS1, Line 64: * If first bit of the sequence is 0
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/43594d44_2710bc0e
PS1, Line 65: * => first symbol is 1, else -1
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1f0c4151_5a483d35
PS1, Line 66: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4b6478a8_1ed88113
PS1, Line 67: gr_complex startpoint = train_seq[i][0] == 0 ?
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/85025519_e3644c4d
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fb4b8205_a6fe3c21
PS1, Line 69: gmsk_mapper(train_seq[i], N_TRAIN_BITS,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c74dfc36_91856a08
PS1, Line 70: d_norm_training_seq[i], startpoint);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b5e37e8c_1e1e280f
PS1, Line 71: for (auto &i : d_norm_training_seq[i])
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3b668bab_3c412cb8
PS1, Line 72: i = conj(i);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/61a4e590_b229abb5
PS1, Line 73: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/161f5af4_d13026f2
PS1, Line 74:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2fd93b40_ef3548bc
PS1, Line 75: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c35b931a_332ed84d
PS1, Line 76:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/83fbad3b_e6a71bcb
PS1, Line 77: MULTI_VER_TARGET_ATTR
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b560c2b0_ceaea2d7
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b885f7bf_5ea964c3
PS1, Line 79: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7f528346_ef12fab2
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/77c30bbb_f4b32395
PS1, Line 81: unsigned int stop_states[2] = { 4, 12 };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5d2ab2cd_017dc840
PS1, Line 82: gr_complex filtered_burst[BURST_SIZE];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/047cc16e_f0c75c48
PS1, Line 83: gr_complex rhh[CHAN_IMP_RESP_LENGTH];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b7e5db3f_23f6d63b
PS1, Line 84: float output[BURST_SIZE];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/74425755_56be3fa6
PS1, Line 85: int start_state = 3;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c64be620_d3e157c8
PS1, Line 86:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e46bcfe3_f4d3731d
PS1, Line 87: // if(burst_start < 0 ||burst_start > 10)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8fe6e5f6_a555936f
PS1, Line 88: // fprintf(stderr, "bo %d\n", burst_start);
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e5ac5f68_54cdced1
PS1, Line 89:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d2d6f57e_285ef5de
PS1, Line 90: // burst_start = burst_start >= 0 ? burst_start : 0;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c8abf6f6_603504a9
PS1, Line 91:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2c18ace1_9c740b73
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2280a4fe_47d8c400
PS1, Line 93: for (int ii = 0; ii < d_chan_imp_length; ii++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0eefc283_b591397d
PS1, Line 94: rhh[ii] = conj(rhh_temp[ii * d_OSR]);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/206cc349_1913931c
PS1, Line 95:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0f23305f_f027fbbc
PS1, Line 96: mafi(&input[burst_start], BURST_SIZE, chan_imp_resp,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/75225d72_f21cc922
PS1, Line 97: d_chan_imp_length * d_OSR, filtered_burst);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a236678f_3d3afac0
PS1, Line 98:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1703ddae_94cf8609
PS1, Line 99: viterbi_detector(filtered_burst, BURST_SIZE, rhh,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c2e7e788_80b21358
PS1, Line 100: start_state, stop_states, 2, output);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/da936f22_d3252f40
PS1, Line 101:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/806e6462_18785811
PS1, Line 102: for (int i = 0; i < BURST_SIZE; i++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c1eae63d_eecb3f3b
PS1, Line 103: output_binary[i] = output[i] * -127; // pre flip bits!
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6e5e4c05_abc2aed4
PS1, Line 104: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/858a7d53_0a148cb6
PS1, Line 105:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/56221b57_336f2aa6
PS1, Line 106: void
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/230d302c_caaff3c6
PS1, Line 107: gmsk_mapper(const unsigned char* input,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c1624464_d2c79968
PS1, Line 108: int nitems, gr_complex* gmsk_output, gr_complex start_point)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/10593ae2_0ea0cbce
PS1, Line 109: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7c175bc8_eb179b68
PS1, Line 110: gr_complex j = gr_complex(0.0, 1.0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3001784c_1fe391ca
PS1, Line 111: gmsk_output[0] = start_point;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/03b12e64_10f7b7ab
PS1, Line 112:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f8fbd021_d99f8f96
PS1, Line 113: int previous_symbol = 2 * input[0] - 1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5e630620_21fc05a1
PS1, Line 114: int current_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/088c1c84_460d88d4
PS1, Line 115: int encoded_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c3788ef4_d9ac705d
PS1, Line 116:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fdac0868_f61c303a
PS1, Line 117: for (int i = 1; i < nitems; i++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eb639e2b_f457ebff
PS1, Line 118: /* Change bits representation to NRZ */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2e445d07_2d9b59bf
PS1, Line 119: current_symbol = 2 * input[i] - 1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/38173571_faf0f362
PS1, Line 120:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f8eb98aa_18b253ff
PS1, Line 121: /* Differentially encode */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2c8dc633_82d391d0
PS1, Line 122: encoded_symbol = current_symbol * previous_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/544ffc81_4d3d0a37
PS1, Line 123:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/60563ef2_c7e3a579
PS1, Line 124: /* And do GMSK mapping */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/09a70bef_ad9d739b
PS1, Line 125: gmsk_output[i] = j * gr_complex(encoded_symbol, 0.0)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/841317b3_88a7f4dd
PS1, Line 126: * gmsk_output[i - 1];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4912945a_c0641d41
PS1, Line 127:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e18ef5e9_e28ba415
PS1, Line 128: previous_symbol = current_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/63c5b308_8827a4f0
PS1, Line 129: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/455a8b76_21553993
PS1, Line 130: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a5fa0e55_dde0a027
PS1, Line 131:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/47d2e6e6_8d1dba84
PS1, Line 132: gr_complex
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a41b98b6_67428d81
PS1, Line 133: correlate_sequence(const gr_complex* sequence,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7ebefeb3_2fbb0c9f
PS1, Line 134: int length, const gr_complex* input)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2ffd4523_01c81f30
PS1, Line 135: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6689cbdd_6880a03b
PS1, Line 136: gr_complex result(0.0, 0.0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/29af4bd3_8fc42b25
PS1, Line 137:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7acb0cb7_9c8a8e49
PS1, Line 138: for (int ii = 0; ii < length; ii++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e225057d_47470d62
PS1, Line 139: result += sequence[ii] * input[ii * d_OSR];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7ba97877_be69a929
PS1, Line 140:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a3aa04e6_b2191241
PS1, Line 141: return conj(result) / gr_complex(length, 0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/89379e99_b42231a2
PS1, Line 142: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/46c4f687_136e9f7c
PS1, Line 143:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7d48bccc_4eb35635
PS1, Line 144: /* Computes autocorrelation for positive arguments */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b9d1cd84_351f0596
PS1, Line 145: inline void
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e606c7db_770dcb1c
PS1, Line 146: autocorrelation(const gr_complex* input,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/76016e6c_59b60b5d
PS1, Line 147: gr_complex* out, int nitems)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/44505148_7be409d9
PS1, Line 148: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8eb1c353_bba187a0
PS1, Line 149: for (int k = nitems - 1; k >= 0; k--) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0d5efdaa_c0d1794c
PS1, Line 150: out[k] = gr_complex(0, 0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/45d751bd_bdf024ff
PS1, Line 151: for (int i = k; i < nitems; i++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a75e118a_b1bd2901
PS1, Line 152: out[k] += input[i] * conj(input[i - k]);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7b706f05_d969edec
PS1, Line 153: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/93ed32a4_12a02f36
PS1, Line 154: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/72ac2348_84916138
PS1, Line 155:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d640c407_941c6dbd
PS1, Line 156: inline void
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fa36a971_0ba48c41
PS1, Line 157: mafi(const gr_complex* input, int nitems,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/18f1e14f_25850106
PS1, Line 158: gr_complex* filter, int filter_length, gr_complex* output)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/702e537f_fb40650b
PS1, Line 159: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/337aa758_f5242c08
PS1, Line 160: for (int n = 0; n < nitems; n++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/99d8f70b_b52021e4
PS1, Line 161: int a = n * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0177bb38_d6a457fa
PS1, Line 162: output[n] = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0985947b_872cc124
PS1, Line 163:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0e937bc8_a0287c33
PS1, Line 164: for (int ii = 0; ii < filter_length; ii++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dabbae92_c318299d
PS1, Line 165: if ((a + ii) >= nitems * d_OSR)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0bd67994_b90fa247
PS1, Line 166: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/32381b37_f44fefbc
PS1, Line 167:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4025de39_c35809c7
PS1, Line 168: output[n] += input[a + ii] * filter[ii];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7f55cec5_8f2c3c40
PS1, Line 169: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7fbacb57_9b2de919
PS1, Line 170: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4db40936_19dc18b3
PS1, Line 171: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f59f5f63_b2bc6fd3
PS1, Line 172:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ac3e1c49_d66b7e2f
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/99d9e938_891f8f6c
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9dda903c_9f49d9f6
PS1, Line 175: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b7e8de0c_262f7515
PS1, Line 176: std::vector<gr_complex> correlation_buffer;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/70638c2c_b95c2963
PS1, Line 177: std::vector<float> window_energy_buffer;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4423495c_61fd40b8
PS1, Line 178: std::vector<float> power_buffer;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5c82f55c_b3303916
PS1, Line 179:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/546a31f1_5c55531b
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7ca953a3_e3b0b8c1
PS1, Line 181: gr_complex correlation = correlate_sequence(tseq, tseqlen,
&input[ii]);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/88d3832f_134abc71
PS1, Line 182: correlation_buffer.push_back(correlation);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/817e81fa_ae558516
PS1, Line 183: power_buffer.push_back(std::pow(abs(correlation), 2));
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1c261914_0ddb5ba6
PS1, Line 184: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/98b458a3_03105150
PS1, Line 185:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f29f47e5_e77da77b
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4d51211f_f7d56857
PS1, Line 187:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7c69b16e_9c026675
PS1, Line 188: /* Compute window energies */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/67529bc2_2b121102
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4de45a69_dc805e2d
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/99965d58_f97f01ff
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/29e3f492_652d32e9
PS1, Line 192: auto iter = power_buffer.begin() + window_energy_start_offset;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/62bc3791_c85ccdaa
PS1, Line 193: auto iter_end = power_buffer.begin() + window_energy_end_offset;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4919dfaf_9c6e7ab4
PS1, Line 194: while (iter != iter_end) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/835cf9e8_60d49b7a
PS1, Line 195: std::vector<float>::iterator iter_ii = iter;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d54fdea2_d0785171
PS1, Line 196: bool loop_end = false;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9b0bf954_11423535
PS1, Line 197: float energy = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3343352e_a2a43d0b
PS1, Line 198:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b62bbe2f_170195fe
PS1, Line 199: int len = d_chan_imp_length * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9da97551_76cdc61d
PS1, Line 200: for (int ii = 0; ii < len; ii++, iter_ii++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eda4f08a_fb43c649
PS1, Line 201: if (iter_ii == power_buffer.end()) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0b5231a4_fd7f6baf
PS1, Line 202: loop_end = true;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/46a44baf_9df5e5db
PS1, Line 203: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1d060ada_2ae99286
PS1, Line 204: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/08f73589_f8774aac
PS1, Line 205:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cfdd4c4a_1f001342
PS1, Line 206: energy += (*iter_ii);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6247c1f3_d959d8c5
PS1, Line 207: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e5bccaa7_6ed98836
PS1, Line 208:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d2c1a409_6ee259e7
PS1, Line 209: if (loop_end)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7328f2c6_239543ff
PS1, Line 210: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c440e268_d9c813e2
PS1, Line 211:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f85e5830_a6564754
PS1, Line 212: window_energy_buffer.push_back(energy);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/368aea5f_a341565d
PS1, Line 213: iter++;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9805e073_6b485d55
PS1, Line 214: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9fcbd990_5e3262b1
PS1, Line 215:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/868bcf36_3c21b009
PS1, Line 216: /* Calculate the strongest window number */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3bb7195a_e24178ae
PS1, Line 217: int strongest_window_nr = window_energy_start_offset +
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/35b9d108_50a190ba
PS1, Line 218: max_element(window_energy_buffer.begin(), window_energy_buffer.end())
-
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/784941e8_aaca1f5e
PS1, Line 219: window_energy_buffer.begin();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4110531d_48d1044c
PS1, Line 220:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1c354686_9ff40f86
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/26cc24c7_a4fb91e8
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/399cd6f4_523cadf2
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/60ac2630_fc4a8375
PS1, Line 224:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4557be85_251577da
PS1, Line 225: // /* Calculate the strongest window number */
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/292f598d_8ff6c06f
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c4873eb7_de85b17f
PS1, Line 227:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/66625436_7d45a9c7
PS1, Line 228: // if (strongest_window_nr < 0)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dfba0679_27fb2f11
PS1, Line 229: // strongest_window_nr = 0;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bfa755f6_f281bd88
PS1, Line 230:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0ba2f678_79a3c6b6
PS1, Line 231: float max_correlation = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4556d6c0_04dc8551
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a071c768_fbc67baa
PS1, Line 233: gr_complex correlation = correlation_buffer[strongest_window_nr + ii];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e53164d9_8a80bdf2
PS1, Line 234: if (abs(correlation) > max_correlation)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e97ac0d7_bb6736ca
PS1, Line 235: max_correlation = abs(correlation);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b140faf7_381a5f23
PS1, Line 236: chan_imp_resp[ii] = correlation;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/257c9d99_7f5b4de8
PS1, Line 237: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/248ea18a_cd10f604
PS1, Line 238:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a2a94f80_a8ebd754
PS1, Line 239: *corr_max = max_correlation;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/028916d1_8bc52a61
PS1, Line 240:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5a97f47c_4adf996a
PS1, Line 241: /**
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/864ce688_448dedce
PS1, Line 242: * Compute first sample position, which corresponds
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4239c1d3_086ea676
PS1, Line 243: * to the first sample of the impulse response
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/357ffb1b_0a8febbe
PS1, Line 244: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d8d04f7d_e9088a03
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f2b9e93f_8da93440
PS1, Line 246: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/00e8be9d_56ca1f41
PS1, Line 247:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/82e5109c_20d38b22
PS1, Line 248: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/572bded8_ef921073
PS1, Line 249:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/921e1ca5_1758b401
PS1, Line 250: 3 + 57 + 1 + 26 + 1 + 57 + 3 + 8.25
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fed511d5_039abdb8
PS1, Line 251:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d4b9e73a_92a1085f
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/58f6453d_6247c090
PS1, Line 253: this is +-5 samples around (+5 beginning) of truncated t16 tsc
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5ef37545_3bc2dcac
PS1, Line 254:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/967dbd41_021231cc
PS1, Line 255: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a79237a8_d5991adc
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a0d33a1d_e7dc206a
PS1, Line 257: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/89beaaa8_30832a0c
PS1, Line 258: const int search_center = TRAIN_POS;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fa37f4cf_0faeb7a8
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cbe4e830_d6c3f2de
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2c1e5cdb_70ea18e9
PS1, Line 261: const auto tseq = &d_norm_training_seq[bcc][TRAIN_BEGINNING];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/690cf127_f7967ab8
PS1, Line 262: const auto tseqlen = N_TRAIN_BITS - (2 * TRAIN_BEGINNING);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8eb14204_8b43fd34
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/129e3ed0_a2052e38
PS1, Line 264: corr_max);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/859cb1ab_86f60fcb
PS1, Line 265: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dfdae906_e582462d
PS1, Line 266:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a9ab6340_6fc46593
PS1, Line 267: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ed76cca5_65768fdd
PS1, Line 268:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/543451d8_123a22ac
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/123e3a3c_39dc6ead
PS1, Line 270: start 3+39 - 10
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/574ecffb_18cc1f72
PS1, Line 271: end 3+39 + SYNC_SEARCH_RANGE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2b823e2c_e6b626a7
PS1, Line 272:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9ca8d150_32ac2e2c
PS1, Line 273: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/75e33fa5_9edc9014
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aaba0fbb_4f35a4da
PS1, Line 275: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7e4b0fd8_aa9cac34
PS1, Line 276: const int search_center = SYNC_POS + TRAIN_BEGINNING;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7d5755dc_2338c3fb
PS1, Line 277: const int search_start_pos = (search_center - 10) * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0ed78992_619eef0d
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/abc704d6_598a3ef6
PS1, Line 279: const auto tseq = &d_sch_training_seq[TRAIN_BEGINNING];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/69db3703_ce73ea70
PS1, Line 280: const auto tseqlen = N_SYNC_BITS - (2 * TRAIN_BEGINNING);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c36fe036_7bd7400a
PS1, Line 281:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ec98c67e_6d47c6ce
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b740fede_312bdb43
PS1, Line 283: float corr_max;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7dcd4f0a_001f1afb
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/662e4b36_5c9f6812
PS1, Line 285: &corr_max);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6c9b874b_0f400604
PS1, Line 286: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f1880709_345396ab
PS1, Line 287:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dcc13c3f_42043493
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/065e1095_8fe1418f
PS1, Line 289: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/27fb4041_9c2302f2
PS1, Line 290: const auto tseqlen = N_SYNC_BITS - (2 * TRAIN_BEGINNING);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/26747407_4abd0f9b
PS1, Line 291: const int search_center = SYNC_POS + TRAIN_BEGINNING;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c96417dc_db1d7517
PS1, Line 292: const int search_start_pos = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4b8c8dde_fb9fec1d
PS1, Line 293: // FIXME: proper end offset
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fe935329_6be24d2c
PS1, Line 294: const int search_stop_pos = len - (N_SYNC_BITS*8);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ad2e1bc7_56d038d1
PS1, Line 295: auto tseq = &d_sch_training_seq[TRAIN_BEGINNING];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3cac809e_1dd1601e
PS1, Line 296:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/494b90c7_54d40315
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9ac8f901_dcd845a7
PS1, Line 298: corr_max);
DOS line endings
File Transceiver52M/grgsm_vitac/viterbi_detector.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/662c38f3_e0be7afd
PS1, Line 1: /* -*- c++ -*- */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/976087be_0aacee39
PS1, Line 2: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/37797e43_4585d15c
PS1, Line 3: * @file
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a1ecbb7d_2ba63274
PS1, Line 4: * @author (C) 2009 Piotr Krysik <ptrkrysik(a)gmail.com>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a250ad34_c899f019
PS1, Line 5: * @section LICENSE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9240db04_c21d9fae
PS1, Line 6: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ee3634f0_92a4e290
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0e3e965f_ea0ea430
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/37b2225c_5aca0a6e
PS1, Line 9: * the Free Software Foundation; either version 3, or (at your option)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b64bad2b_d4bc8aca
PS1, Line 10: * any later version.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/15a37a30_1ade9ad4
PS1, Line 11: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9454edf1_f5b5b36e
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9db7e52a_eff98d53
PS1, Line 13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b4c24a31_572844b6
PS1, Line 14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a11403fa_a2ab9885
PS1, Line 15: * GNU General Public License for more details.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c2fe6059_33324288
PS1, Line 16: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e4cc72c0_05fd07b6
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c9d7c7b3_d1297d7c
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7287f36a_52eacc0f
PS1, Line 19: * the Free Software Foundation, Inc., 51 Franklin Street,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/253e903d_4fd2d0ec
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1164c2f9_1310a332
PS1, Line 20: * Boston, MA 02110-1301, USA.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2ddbf25e_04a4fef2
PS1, Line 21: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/23331ffc_25902a4c
PS1, Line 22:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5e284283_565db17c
PS1, Line 23: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b7601ec7_0c4b0803
PS1, Line 24: * viterbi_detector:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3ffef8e3_5c1a7f13
PS1, Line 25: * This part does the detection of received sequnece.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e7f6660e_8dbb93cb
PS1, Line 26: * Employed algorithm is viterbi Maximum Likehood Sequence
Estimation.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2b1f4b89_25c0c26a
PS1, Line 27: * At this moment it gives hard decisions on the output, but
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f0101c8c_abf595b6
PS1, Line 28: * it was designed with soft decisions in mind.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e8dc804c_6def203e
PS1, Line 29: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c2a11e3e_64c603ee
PS1, Line 30: * SYNTAX: void viterbi_detector(
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a040bc84_664197a1
PS1, Line 31: * const gr_complex * input,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5ba0a889_34e29705
PS1, Line 32: * unsigned int samples_num,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cf13daed_e8c803d3
PS1, Line 33: * gr_complex * rhh,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/82f5a71a_3205f3f3
PS1, Line 34: * unsigned int start_state,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7d1fa5e7_cd38f709
PS1, Line 35: * const unsigned int * stop_states,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/73d3b597_b7811ac0
PS1, Line 36: * unsigned int stops_num,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/564bc931_253716c7
PS1, Line 37: * float * output)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2641bcf3_f14c1526
PS1, Line 38: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7c66e296_d34673e7
PS1, Line 39: * INPUT: input: Complex received signal afted matched filtering.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/48398d39_200b11b3
PS1, Line 40: * samples_num: Number of samples in the input table.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/12f3e976_215d150b
PS1, Line 41: * rhh: The autocorrelation of the estimated channel
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a22e2bfd_2d1e1b72
PS1, Line 42: * impulse response.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ccac45de_19c8f274
PS1, Line 43: * start_state: Number of the start point. In GSM each burst
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5f7d9377_1a1b5694
PS1, Line 44: * starts with sequence of three bits (0,0,0) which
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7dc435d3_27d846a4
PS1, Line 45: * indicates start point of the algorithm.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0a43da85_5973f853
PS1, Line 46: * stop_states: Table with numbers of possible stop states.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/67c0e3a7_2861f743
PS1, Line 47: * stops_num: Number of possible stop states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/815ab3f3_4dee3e7d
PS1, Line 48: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a10ea126_c5ff80ab
PS1, Line 49: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/529c19f8_a6fcd83d
PS1, Line 50: * OUTPUT: output: Differentially decoded hard output of the
algorithm:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/232666fd_8206f9f5
PS1, Line 51: * -1 for logical "0" and 1 for logical
"1"
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/05dda335_009295bf
PS1, Line 52: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/17d91056_105cfc84
PS1, Line 53: * SUB_FUNC: none
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/52d05470_a6fb399c
PS1, Line 54: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f6bec1f8_ee0be1be
PS1, Line 55: * TEST(S): Tested with real world normal burst.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9f59fdb8_7f19c2f9
PS1, Line 56: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/381faa86_34062ff5
PS1, Line 57:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/21225442_5442f21f
PS1, Line 58: #ifndef INCLUDED_VITERBI_DETECTOR_H
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1bed1136_b614b0eb
PS1, Line 59: #define INCLUDED_VITERBI_DETECTOR_H
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/883b7a8e_e2ad83a2
PS1, Line 60: #include "constants.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4116c73d_511a7184
PS1, Line 61:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4e788e12_01951a5a
PS1, Line 62: 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fd208121_4e5fd3ef
PS1, Line 62: 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);
"foo * bar" should be "foo *bar"
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b13bf4dc_1d3a64ce
PS1, Line 62: 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);
"foo * bar" should be "foo *bar"
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/75887d14_572d934c
PS1, Line 62: 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);
"foo * bar" should be "foo *bar"
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6144a080_e69f4c66
PS1, Line 62: 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);
"foo * bar" should be "foo *bar"
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1d4fccee_913bad81
PS1, Line 63:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f8159a93_b5794ab9
PS1, Line 64: #endif /* INCLUDED_VITERBI_DETECTOR_H */
DOS line endings
File Transceiver52M/grgsm_vitac/viterbi_detector.cc:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/47100dcb_98d4e0ad
PS1, Line 1: /* -*- c++ -*- */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bba8cb5a_1c01ff96
PS1, Line 2: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/75f1baa1_9e0b9139
PS1, Line 3: * @file
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a76e2e69_be2b8a07
PS1, Line 4: * @author (C) 2009 by Piotr Krysik <ptrkrysik(a)gmail.com>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/32018799_d8ecba86
PS1, Line 5: * @section LICENSE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4c277b59_8ebffdf2
PS1, Line 6: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f940e04f_c1bd61ba
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4a9343b8_9225dafa
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3aa5e09c_679cbc34
PS1, Line 9: * the Free Software Foundation; either version 3, or (at your option)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/95c35409_89029d88
PS1, Line 10: * any later version.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/54d21c68_b819951c
PS1, Line 11: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/695776a0_acf2200e
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6faef23a_d2f67eec
PS1, Line 13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0b9db5f8_b560f21b
PS1, Line 14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/be91d9d3_d5934204
PS1, Line 15: * GNU General Public License for more details.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a615c678_9c46c921
PS1, Line 16: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/513f9e68_179770e4
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/130cd4da_80ff5978
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/60853de6_3ffd6743
PS1, Line 19: * the Free Software Foundation, Inc., 51 Franklin Street,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0ea3d2b0_caa553e3
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d0b3ebf6_4a0a3a99
PS1, Line 20: * Boston, MA 02110-1301, USA.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9d278f34_3ed32355
PS1, Line 21: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/931ebd31_05021684
PS1, Line 22:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3711940d_d333a81a
PS1, Line 23: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/172281b1_850874b0
PS1, Line 24: * viterbi_detector:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8f1ac61a_43feba14
PS1, Line 25: * This part does the detection of received sequnece.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9b355beb_6034bde7
PS1, Line 26: * Employed algorithm is viterbi Maximum Likehood Sequence
Estimation.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/822b6b74_fcf0d5ec
PS1, Line 27: * At this moment it gives hard decisions on the output, but
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9cf71941_abe88bc3
PS1, Line 28: * it was designed with soft decisions in mind.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8e9b72ce_dc2b53ca
PS1, Line 29: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/87b1ed02_4a96eb2c
PS1, Line 30: * SYNTAX: void viterbi_detector(
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2e7af52b_435dd11c
PS1, Line 31: * const gr_complex * input,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dbdb93e1_54ca2faf
PS1, Line 32: * unsigned int samples_num,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4b43c07d_328bb1fc
PS1, Line 33: * gr_complex * rhh,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dc7e4271_96b3113d
PS1, Line 34: * unsigned int start_state,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/14ffd48c_615fcd97
PS1, Line 35: * const unsigned int * stop_states,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a5215a13_be1f9731
PS1, Line 36: * unsigned int stops_num,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/053a1ed1_bfda3cdc
PS1, Line 37: * float * output)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/94823fb7_0282c857
PS1, Line 38: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9eb807ca_078cdebf
PS1, Line 39: * INPUT: input: Complex received signal afted matched filtering.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3d380d68_2640bb6f
PS1, Line 40: * samples_num: Number of samples in the input table.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fc3a3f0c_9dd32866
PS1, Line 41: * rhh: The autocorrelation of the estimated channel
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ab6bd4b9_c247c1a6
PS1, Line 42: * impulse response.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/02113a4a_ccc661d8
PS1, Line 43: * start_state: Number of the start point. In GSM each burst
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6c9ef86c_2f3e9a63
PS1, Line 44: * starts with sequence of three bits (0,0,0) which
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/07c6df30_5ece326c
PS1, Line 45: * indicates start point of the algorithm.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7408f587_90ba13c8
PS1, Line 46: * stop_states: Table with numbers of possible stop states.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/098f9077_aad287a6
PS1, Line 47: * stops_num: Number of possible stop states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a5b830da_490388d3
PS1, Line 48: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4c4083c9_1a25973e
PS1, Line 49: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c84b46d4_ca1c90d3
PS1, Line 50: * OUTPUT: output: Differentially decoded hard output of the
algorithm:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1bfc20b4_320487e3
PS1, Line 51: * -1 for logical "0" and 1 for logical
"1"
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/282041d6_156fd5ea
PS1, Line 52: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c1d5d7bb_bbf468af
PS1, Line 53: * SUB_FUNC: none
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e18a49ad_21d5c1eb
PS1, Line 54: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d688c8f6_769ee3b0
PS1, Line 55: * TEST(S): Tested with real world normal burst.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cf29c01b_eaf16c59
PS1, Line 56: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e03eaf39_90347a3a
PS1, Line 57:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fda8c54f_f2e2864b
PS1, Line 58: #include "constants.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5c98bd7b_44caa744
PS1, Line 59: #include <cmath>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eb7c01ac_727279d6
PS1, Line 60:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0550bccd_7d661381
PS1, Line 61: #define PATHS_NUM (1 << (CHAN_IMP_RESP_LENGTH-1))
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6c33d8aa_9341bf3b
PS1, Line 62:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7dd370e2_2fa8ab89
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8a6ab2f1_48eaa8ba
PS1, Line 64: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9f69872f_a0fd0a5d
PS1, Line 65: float increment[8];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b31217a9_ffc2f0ff
PS1, Line 66: float path_metrics1[16];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5b59f8ce_004c7ebe
PS1, Line 67: float path_metrics2[16];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/90d42655_2fa9ca18
PS1, Line 68: float paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4cecc630_838ad142
PS1, Line 69: float * new_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/262a1e01_68d52532
PS1, Line 70: float * old_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4687c928_3b7d9f9a
PS1, Line 71: float * tmp;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a9ca21f0_0d8decc3
PS1, Line 72: float trans_table[BURST_SIZE][16];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/02ef9230_56ce4398
PS1, Line 73: float pm_candidate1, pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/78d0bbac_a8f3b821
PS1, Line 74: bool real_imag;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bb66eee9_bf25aa28
PS1, Line 75: float input_symbol_real, input_symbol_imag;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a79fd2ae_8146b2cf
PS1, Line 76: unsigned int i, sample_nr;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5c7d549e_640a68ae
PS1, Line 77:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4bcaa116_2bffb995
PS1, Line 78: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d10bb7c2_2956531d
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1baf6be2_c1161cbd
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bc7d87ee_14051203
PS1, Line 81: * which makes them practically impossible to occur.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f1d8c56d_3fb02ef0
PS1, Line 82: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7fc661b4_c4d90e61
PS1, Line 83: for(i=0; i<PATHS_NUM; i++){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/648dc41f_6c699e69
PS1, Line 84: path_metrics1[i]=(-10e30);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8d9a6f80_d0edfec1
PS1, Line 85: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5ff0c175_c9d87162
PS1, Line 86: path_metrics1[start_state]=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2aebce47_89e918e9
PS1, Line 87:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1841d021_c3d3a2a2
PS1, Line 88: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/600271fc_22152fa8
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5e488d1c_0f74a371
PS1, Line 90: * Increment is table of reference levels for computation of branch metrics:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dccf12c2_ffe3f3f8
PS1, Line 91: * branch metric = (+/-)received_sample (+/-) reference_level
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7f1fc050_d77b0914
PS1, Line 92: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f0bd679d_02413e8d
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a9fdc635_1b0feefc
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fece56a0_e7b48a8f
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/70cf5e3d_6963e5b2
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/98ee6bc1_be8e6d89
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fcac4b33_00240c08
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4d76c078_6b87074e
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4fbcf33f_5f8502f6
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aa640ead_1084ae3a
PS1, Line 101:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9c42b44e_4936da86
PS1, Line 102:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/beed48ac_564c36d3
PS1, Line 103: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/03fc7661_518d5927
PS1, Line 104: * Computation of path metrics and decisions (Add-Compare-Select).
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/614313eb_9d6be5ae
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/909518a1_d46691b9
PS1, Line 106: * and one for even samples (real numbers).
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6352eadf_5b898828
PS1, Line 107: * Each part is composed of independent (parallelisable) statements like
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6492ba9a_1313d989
PS1, Line 108: * this one:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/05a2d638_17ffc025
PS1, Line 109: * pm_candidate1 = old_path_metrics[0] -input_symbol_imag
+increment[2];
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/81fb42d5_77542a76
PS1, Line 110: * pm_candidate2 = old_path_metrics[8] -input_symbol_imag
-increment[5];
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c8c761f2_f1505b73
PS1, Line 111: * paths_difference=pm_candidate2-pm_candidate1;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7acc0de2_67299dc0
PS1, Line 112: * new_path_metrics[1]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0dd2f53f_22ceb4c2
PS1, Line 113: * trans_table[sample_nr][1] = paths_difference;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8669d7e6_524cd5a4
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e0a813eb_7258d34b
PS1, Line 115: * consuming part of this function.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5ea58225_e37f7c89
PS1, Line 116: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ae3ed814_720ab091
PS1, Line 117: sample_nr=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/83bbe402_317b7078
PS1, Line 118: old_path_metrics=path_metrics1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bd9f060a_df4bcf7d
PS1, Line 119: new_path_metrics=path_metrics2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f52def7b_732611bb
PS1, Line 120: while(sample_nr<samples_num){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d40c2dbb_6d199cce
PS1, Line 121: //Processing imag states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/df9fb690_14a78787
PS1, Line 122: real_imag=1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/184dee4e_04f8eb79
PS1, Line 123: input_symbol_imag = input[sample_nr].imag();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3b29eeca_984e52bf
PS1, Line 124:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/71c7c4a1_f9d42b5a
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/00423798_727de65e
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/959cfaea_3eb00a94
PS1, Line 127: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/282a822f_d6c9633f
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/142243df_0b127503
PS1, Line 129: trans_table[sample_nr][0] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5aa86f4b_b6691b3a
PS1, Line 130:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/daca533d_1e8a9b47
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2d52ce12_ee6bc1fd
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f6363531_5939f7b4
PS1, Line 133: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8c8f10ee_52c82707
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/01a7cbd4_555a617a
PS1, Line 135: trans_table[sample_nr][1] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/97241962_6e537e59
PS1, Line 136:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/db0549c1_c8a60aa1
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/babe4176_ae83a43b
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/23bd46af_53560d5d
PS1, Line 139: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cdbb9d2b_b0c7a82f
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8a0439cc_36217136
PS1, Line 141: trans_table[sample_nr][2] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/25d0ef96_19bd8222
PS1, Line 142:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8b0ea012_5995c6c1
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4f912019_ac03e311
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a15be528_a897bd8f
PS1, Line 145: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b37e4cb8_ee3318ab
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/806debc8_f6d15ea2
PS1, Line 147: trans_table[sample_nr][3] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/57ac6b6f_1ee4dfc5
PS1, Line 148:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5c7df3b6_81cc8209
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/da088555_ded10c14
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/83157fa7_09c8f80a
PS1, Line 151: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/910e9178_7f7bcac1
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0b22d38e_9d84bce2
PS1, Line 153: trans_table[sample_nr][4] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4bdf9c4a_e5522f38
PS1, Line 154:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ebff2b25_83ae7f1a
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4bea3a47_45fd5f62
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/be798fa5_d5db3c77
PS1, Line 157: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4e152594_5d29253e
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7ab890a8_b2954ae3
PS1, Line 159: trans_table[sample_nr][5] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d8b39d07_a7678662
PS1, Line 160:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b7b65f96_dbc85c37
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b0403357_5fcb4b9e
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/73d182f2_493afaae
PS1, Line 163: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/be51455b_4acb4840
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cbef8ae0_2ec335f3
PS1, Line 165: trans_table[sample_nr][6] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c32c5ccb_4054fdc7
PS1, Line 166:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/be6b0ea4_7acc8d72
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e8075dfe_4b6fe825
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/20d5aa09_644fd319
PS1, Line 169: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fa50915a_8b9415bc
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c4000dd9_95ca42ad
PS1, Line 171: trans_table[sample_nr][7] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/43f47227_974d5c07
PS1, Line 172:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5ee23460_b328f966
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/083c2998_3b4703cd
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9de0a49d_f96dc466
PS1, Line 175: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/98579fa0_c74e8374
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/21fd1842_d710b1b9
PS1, Line 177: trans_table[sample_nr][8] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/acd0ce29_c9a54276
PS1, Line 178:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/95a34f67_daeece82
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/34209d5d_c5f87a0b
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/940f1793_a6c21a38
PS1, Line 181: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5ddcd727_853e396f
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/46d645b7_e9dfbe21
PS1, Line 183: trans_table[sample_nr][9] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/df0abbb5_178b6bab
PS1, Line 184:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/95d9d47a_c5c4e898
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/716eadb0_74a0e045
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a4ae42d8_b0202cd9
PS1, Line 187: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/622e603e_bc21d87e
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1c7cf284_d11c580a
PS1, Line 189: trans_table[sample_nr][10] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ff18c9df_373fc333
PS1, Line 190:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/17645e49_558da642
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/70a3e789_e2503545
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3718558c_9d735f32
PS1, Line 193: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/beb36811_4e7febc8
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/18832505_ebd4d456
PS1, Line 195: trans_table[sample_nr][11] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c951bdb8_e9bd8da7
PS1, Line 196:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f3210dcc_1734a0db
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9bb16f29_a845f7a1
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/efec955a_5f817a20
PS1, Line 199: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b0bb68bc_f16cc533
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a673b02d_b992bf5b
PS1, Line 201: trans_table[sample_nr][12] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/430fc63f_36777a8b
PS1, Line 202:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/beaeb508_038077a5
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9dfa064c_9139066e
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2d72a8f4_9aaf8d08
PS1, Line 205: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f821ca81_f9bff86a
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2b55896d_20d90eaa
PS1, Line 207: trans_table[sample_nr][13] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/df7fac54_2af5ff62
PS1, Line 208:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1bc1f9df_1e56f859
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/854d12db_5d979823
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b2f67a7e_6b152a43
PS1, Line 211: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/159fa760_85d214cf
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6a668ab0_45feb57b
PS1, Line 213: trans_table[sample_nr][14] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f49e174e_47adbe6b
PS1, Line 214:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d84a0028_c5c4bcfe
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/52e3ac98_7d9eeee7
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1ff5a5c5_0e951b2b
PS1, Line 217: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/05306f47_51aa311c
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d22827c1_52c872f0
PS1, Line 219: trans_table[sample_nr][15] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5544e3d8_588d9bed
PS1, Line 220: tmp=old_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0254f4f0_e9803d1b
PS1, Line 221: old_path_metrics=new_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ce898082_d795bb2b
PS1, Line 222: new_path_metrics=tmp;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/283006b3_d457865c
PS1, Line 223:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/12e3ac69_fc4f382e
PS1, Line 224: sample_nr++;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fcffc68f_a7031af2
PS1, Line 225: if(sample_nr==samples_num)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b4c93154_986a997e
PS1, Line 226: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8971bdf4_ae47ed96
PS1, Line 227:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e28ad15e_c48a96f4
PS1, Line 228: //Processing real states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e1e0b033_47465ab8
PS1, Line 229: real_imag=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/06ccfbc5_323e1354
PS1, Line 230: input_symbol_real = input[sample_nr].real();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d2aab164_5c239432
PS1, Line 231:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9008c217_30a48ca2
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2620cc69_7d71c43c
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e8e98f06_60674545
PS1, Line 234: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f9fe0008_21664d5d
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bba38c80_711d548c
PS1, Line 236: trans_table[sample_nr][0] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0d64d6c7_2f426423
PS1, Line 237:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/67e86ded_626f116e
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d6e72e17_e8df01dc
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fef25226_e9018d41
PS1, Line 240: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f06adfb9_dd60ceec
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/add3b8f4_be962251
PS1, Line 242: trans_table[sample_nr][1] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/525b6b24_c4f3395a
PS1, Line 243:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d24e69ca_dca81121
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d5b482f7_114d0b57
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2a090bab_12da33e2
PS1, Line 246: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8da9bced_b590a700
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0072efca_ae7ff7b9
PS1, Line 248: trans_table[sample_nr][2] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8565e567_61fd0c46
PS1, Line 249:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/13ce4532_94c26304
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5169946c_a27e0328
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/da530a0a_f3fea4b0
PS1, Line 252: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/48b85f26_0f7fae73
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f2180431_3bd4740a
PS1, Line 254: trans_table[sample_nr][3] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f7a31500_4a20d5e8
PS1, Line 255:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a16a65eb_3bf33f36
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/61833c9e_2bfa4fce
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6300a8ea_c49daace
PS1, Line 258: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9352498a_0f497f37
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2357b0cb_63206282
PS1, Line 260: trans_table[sample_nr][4] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/91600e2d_fc86990a
PS1, Line 261:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/89ac36b5_673e510d
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2d3312dc_6ea303e5
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f3dbe6bd_56a1c404
PS1, Line 264: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/79fdb15a_47209c68
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/292c80a1_d79da118
PS1, Line 266: trans_table[sample_nr][5] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e2d30c8f_38ba362f
PS1, Line 267:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/50072ee6_1ed8187f
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ed4f1d97_10adaef7
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d0189c2f_96e06e45
PS1, Line 270: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/de6a123e_a6e325e1
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e7feaa62_2f1cb8b3
PS1, Line 272: trans_table[sample_nr][6] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c5ea70ea_1657609a
PS1, Line 273:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/792ac9fb_5a7f0fd9
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8693d874_c825b97e
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ffaa48f5_fe693c13
PS1, Line 276: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/481fddff_5a106165
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a4674531_c036e809
PS1, Line 278: trans_table[sample_nr][7] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2e4f75b4_bdbc3931
PS1, Line 279:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/76a0e764_06d5cf8e
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/64b86e89_8d880ac4
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d6d4b857_10ff2c99
PS1, Line 282: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/79b96e41_e7dd9877
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/665397dc_bd80f6a0
PS1, Line 284: trans_table[sample_nr][8] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/87c1b180_7d637587
PS1, Line 285:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7aa54df3_37101eb5
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3325eb4a_663d3f60
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b38f1735_314ba8aa
PS1, Line 288: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b793811c_ee48e7be
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/15c6850e_62f59543
PS1, Line 290: trans_table[sample_nr][9] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/973531c9_69e6db25
PS1, Line 291:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/23e228f7_fb64e813
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b6f1a689_f2e2e6d9
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/893f8180_42a69f2b
PS1, Line 294: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c9ede1ca_19439b87
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3ac2e66e_69b00f62
PS1, Line 296: trans_table[sample_nr][10] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/180d112b_532653c0
PS1, Line 297:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6c852c0e_9866ccce
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4ec994e3_b9f75bae
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eed40f1d_cc60bedb
PS1, Line 300: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/313a0128_a62c2133
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/81ae8055_47c038b5
PS1, Line 302: trans_table[sample_nr][11] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5b9978b6_da4e6f72
PS1, Line 303:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/47e13116_c97d21e6
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fe10866a_3237147e
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9df8ae59_6416091d
PS1, Line 306: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/719e552b_d5e6ea7b
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a95b823c_89072084
PS1, Line 308: trans_table[sample_nr][12] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3e5e3eeb_066dbf86
PS1, Line 309:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/039130fb_769ef6eb
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/38d3f4c6_04a6c7f3
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/91b2070e_0e03f83a
PS1, Line 312: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7bfb1152_6cb75672
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/32db60e2_8b277681
PS1, Line 314: trans_table[sample_nr][13] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5b991cea_5cf7d1da
PS1, Line 315:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ae45cadb_76fb5235
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5d063cb9_2a8f68c2
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/35382050_3a03a95d
PS1, Line 318: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/37cc8b7d_361f72dd
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1c2839d7_9b6e3f20
PS1, Line 320: trans_table[sample_nr][14] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/75cfe80b_ff9f05a9
PS1, Line 321:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5598d564_eec28d25
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0160bd6a_a6ad917f
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/09cc86bd_57fc06e9
PS1, Line 324: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1152a7fb_1196bf26
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ac36e45d_f58ec05c
PS1, Line 326: trans_table[sample_nr][15] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e9bda11c_0aca7720
PS1, Line 327:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bc74852d_bd448fed
PS1, Line 328: tmp=old_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d6fff0e8_1749cd26
PS1, Line 329: old_path_metrics=new_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2e9bc89f_c48367bc
PS1, Line 330: new_path_metrics=tmp;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b2f3ac20_8fecb2d7
PS1, Line 331:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f8a70ed1_cc719f8a
PS1, Line 332: sample_nr++;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5762bd21_63eb39c5
PS1, Line 333: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/662bbd03_5b2dbc90
PS1, Line 334:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/46c904af_c3e52303
PS1, Line 335: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/45c70800_7cf59a3d
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2d9ae2b6_bed11905
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ebacecb4_372ee6f4
PS1, Line 338: * a subset of them.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/79e302d4_01880b9f
PS1, Line 339: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1d26cdf3_0ed58a4e
PS1, Line 340: unsigned int best_stop_state;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c5713a8d_20a93206
PS1, Line 341: float stop_state_metric, max_stop_state_metric;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6d1ae503_ad299835
PS1, Line 342: best_stop_state = stop_states[0];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6415217a_4228fdbf
PS1, Line 343: max_stop_state_metric = old_path_metrics[best_stop_state];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/986e109d_59eb2cac
PS1, Line 344: for(i=1; i< stops_num; i++){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ca1b17a0_205b534e
PS1, Line 345: stop_state_metric = old_path_metrics[stop_states[i]];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8282d8d1_3ab5ffa0
PS1, Line 346: if(stop_state_metric > max_stop_state_metric){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a2dabac3_6f99830d
PS1, Line 347: max_stop_state_metric = stop_state_metric;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/09d0c6cc_33fe2c50
PS1, Line 348: best_stop_state = stop_states[i];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7732e0c2_9624dead
PS1, Line 349: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ae66af10_6b98677d
PS1, Line 350: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6968f787_6108eb6d
PS1, Line 351:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e54dcf13_338084ae
PS1, Line 352: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/03644ff4_5c840238
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4575d080_0bb273a5
PS1, Line 354: * traceback stage.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c51fa26a_742f789a
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/965d3147_5307f43b
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1cf8fc63_a91d84da
PS1, Line 357: * to a received bit.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/53205755_b9c3d0ce
PS1, Line 358: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b1e4f9e5_ff74a1f1
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d07b1e73_1f5c1d74
PS1, Line 360:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/19737de4_a357a571
PS1, Line 361: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aba66beb_a6996d3a
PS1, Line 362: * Table of previous states in the trellis diagram.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5b8d13d1_aff6be1f
PS1, Line 363: * For GMSK modulation every state has two previous states.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/25ab5e0a_3fc0df16
PS1, Line 364: * Example:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4b87da34_56f17026
PS1, Line 365: * previous_state_nr1 = prev_table[current_state_nr][0]
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c4429ed4_98a42e0f
PS1, Line 366: * previous_state_nr2 = prev_table[current_state_nr][1]
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/51895b1d_bb347523
PS1, Line 367: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9dd4c77b_ceb52f8a
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bbf2031d_5f48e8fb
PS1, Line 369:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/85ea2a49_ab90c2aa
PS1, Line 370: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/289ef068_9dbb5de0
PS1, Line 371: * Traceback and differential decoding of received sequence.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5895a578_6d2a4c30
PS1, 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-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d2814559_93038728
PS1, Line 373: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/067ac8a2_8031e94e
PS1, Line 374: sample_nr=samples_num;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5cca4631_d2fa6338
PS1, Line 375: unsigned int state_nr=best_stop_state;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c0aaddb9_cfbf046a
PS1, Line 376: unsigned int decision;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4c1ab6ce_0c5814c4
PS1, Line 377: bool out_bit=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/79843aac_9caf3bc8
PS1, Line 378:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ba85b924_e05db597
PS1, Line 379: while(sample_nr>0){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fc7ee93b_4b25d8b4
PS1, Line 380: sample_nr--;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b3477f6f_f956487c
PS1, Line 381: decision = (trans_table[sample_nr][state_nr]>0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d6af7b2c_e385cfde
PS1, Line 382:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3853e4db_bcd3a90f
PS1, Line 383: if(decision != out_bit)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2ba87194_c3d11a12
PS1, Line 384: output[sample_nr]=-trans_table[sample_nr][state_nr];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ed25fef3_72c8019a
PS1, Line 385: else
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/81bc2acb_6edab099
PS1, Line 386: output[sample_nr]=trans_table[sample_nr][state_nr];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/93bcd35f_846bd7f5
PS1, Line 387:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/95504d15_7ea9e435
PS1, Line 388: out_bit = out_bit ^ real_imag ^ parity_table[state_nr];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a22aa961_a22ae9ec
PS1, Line 389: state_nr = prev_table[state_nr][decision];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/72753e0c_48ca644c
PS1, Line 390: real_imag = !real_imag;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3d486fbc_1afa69b5
PS1, Line 391: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1505):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/13f52779_b79c4e7d
PS1, 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: 1
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Thu, 01 Dec 2022 11:01:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment