Attention is currently required from: Hoernchen.
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 3:
(946 comments)
File Transceiver52M/grgsm_vitac/constants.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/519f5b70_2a20c3f8
PS3, Line 1: #pragma once
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7a7a9edb_081c96f6
PS3, Line 2: /* -*- c++ -*- */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4842db4e_25d2176f
PS3, Line 3: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/75dfaff7_1cbb6ba1
PS3, Line 4: * @file
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/80e59fd4_996fc48f
PS3, Line 5: * @author (C) 2009-2017 by Piotr Krysik <ptrkrysik(a)gmail.com>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/38007f1c_6cf154c8
PS3, Line 6: * @section LICENSE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d88a76a2_ebdedfc9
PS3, Line 7: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/144a0d5e_8682cb1e
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4ff485b2_765ec3d4
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b79dea44_b443ff97
PS3, Line 10: * the Free Software Foundation; either version 3, or (at your option)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/70bd6958_b10d371a
PS3, Line 11: * any later version.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/53507dda_39322efe
PS3, Line 12: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8aa27162_ada89389
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4169b984_1dadf4f3
PS3, Line 14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cb294409_e2dad96f
PS3, Line 15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e4a38a92_eb27e322
PS3, Line 16: * GNU General Public License for more details.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/31ac21f4_739d4788
PS3, Line 17: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/265efeff_0ca31062
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2d89ecb6_049e3b3d
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c1ad25a4_63e7efdc
PS3, Line 20: * the Free Software Foundation, Inc., 51 Franklin Street,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/989c7b31_8f078268
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0ca1a9a1_62f91bb3
PS3, Line 21: * Boston, MA 02110-1301, USA.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6d1ece50_396b38c8
PS3, Line 22: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aa010cbc_5360897e
PS3, Line 23:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/03911975_e9e86fec
PS3, Line 24: #include <complex>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c845c77e_82a09c8e
PS3, Line 25:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ed7f18c6_9107a15c
PS3, Line 26: #define gr_complex std::complex<float>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/098a1a54_4ddab551
PS3, Line 26: #define gr_complex std::complex<float>
spaces required around that '<' (ctx:VxV)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/22ee556c_23927c17
PS3, Line 26: #define gr_complex std::complex<float>
spaces required around that '>' (ctx:VxW)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/adf882bf_65c042af
PS3, Line 27:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/19f7e955_f3236830
PS3, Line 28:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4107d592_af94e9bf
PS3, Line 29: #define GSM_SYMBOL_RATE (1625000.0/6.0) //symbols per second
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b827e5b0_bd1243a1
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4b3ce18d_e9f3b0ea
PS3, Line 31:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/627c7a87_a0c30220
PS3, Line 32: //Burst timing
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e7577f13_7a08a152
PS3, Line 33: #define TAIL_BITS 3
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/943b79b4_f84dd9e1
PS3, Line 34: #define GUARD_BITS 8
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/21dc6de7_9b4731e4
PS3, Line 35: #define GUARD_FRACTIONAL 0.25 //fractional part of guard period
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bc3911a0_e40bf25c
PS3, Line 36: #define GUARD_PERIOD GUARD_BITS + GUARD_FRACTIONAL
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/710d7d8f_ec7dfbf4
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ab0c846a_906e70df
PS3, Line 38: #define STEALING_BIT 1
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d3093062_d1e9e1fb
PS3, Line 39: #define N_TRAIN_BITS 26
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2d2f6c15_9b85a8b7
PS3, Line 40: #define N_SYNC_BITS 64
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9cc582a6_ecee97a5
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8a3a1008_9d043bd0
PS3, Line 42: #define FCCH_BITS USEFUL_BITS
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/df3234c7_3fbf2c4d
PS3, Line 43: #define BURST_SIZE (USEFUL_BITS+2*TAIL_BITS)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c28e69cf_a406aa3e
PS3, Line 44: #define ACCESS_BURST_SIZE 88
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3d7ce09f_8d9374db
PS3, Line 45: #define PROCESSED_CHUNK BURST_SIZE+2*GUARD_PERIOD
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4fdebb3d_102c8515
PS3, Line 46:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4bfec958_878c7d60
PS3, Line 47: #define SCH_DATA_LEN 39
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/646461e3_5348735f
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/12ffdaa8_9001c0a4
PS3, Line 49: #define TS_PER_FRAME 8
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c0e41187_1a8dcc3e
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d1480165_2c6e40d4
PS3, Line 51: #define FCCH_POS TAIL_BITS
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3df69348_64ce6ce4
PS3, Line 52: #define SYNC_POS (TAIL_BITS + 39)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1dedf4c0_e4641f73
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c83ff25c_109c6a5c
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/35a84e34_bd46d887
PS3, Line 54: //aren't used for channel impulse response estimation
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c749a67d_9794469d
PS3, Line 55: #define TRAIN_BEGINNING 5
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ad4a58fd_35d218ea
PS3, Line 56: #define SAFETY_MARGIN 6 //
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7b69566d_e7383210
PS3, Line 57:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9d48d42a_c84ae030
PS3, Line 58: #define FCCH_HITS_NEEDED (USEFUL_BITS - 4)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d387134c_96844e59
PS3, Line 59: #define FCCH_MAX_MISSES 1
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f66e1cc4_73e74854
PS3, Line 60: #define FCCH_MAX_FREQ_OFFSET 100
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3b01d6ba_3a74a81c
PS3, Line 61:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6399d33f_db52a9e6
PS3, Line 62: #define CHAN_IMP_RESP_LENGTH 5
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/734a7fec_f289ff32
PS3, Line 63:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/84088376_6f555181
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ee26514b_9d77dbe1
PS3, Line 65:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ecc47b6a_71322e56
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7f165ab5_314ba8ad
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0286ea30_f026d4dd
PS3, Line 67: typedef enum { unknown, multiframe_26, multiframe_51 } multiframe_type;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c087289e_d7ce659e
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/88d14c93_6bb93e23
PS3, Line 68:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5840cdaf_e9d47d17
PS3, Line 69: static const unsigned char SYNC_BITS[] = {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c80e8b8f_51e13f92
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a8bdf61e_797f6792
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bd685256_034c9fd5
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/65196d83_8d46bf68
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6fef780b_6086d938
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6882232a_922bd89c
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2d8b1a96_d8f45930
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/be00cd77_7fac66e9
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/56b38362_596983b4
PS3, Line 74: };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dfee7d16_9c1eafca
PS3, Line 75:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/80d1ce24_e6281d92
PS3, Line 76: const unsigned FCCH_FRAMES[] = { 0, 10, 20, 30, 40 };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e371e1c6_b3ec6786
PS3, Line 77: const unsigned SCH_FRAMES[] = { 1, 11, 21, 31, 41 };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/05d0148f_268c6063
PS3, Line 78:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d84d183a_ccd3e8ba
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/408f3072_c70fab74
PS3, Line 80: //!!channels so this will be removed from this header
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1b4a8a34_2bf7abbd
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9940c3f3_c91d8d67
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ff4d8d1e_ee65e37f
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c337d53b_83f52e1a
PS3, Line 84:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/93c94ba2_0f72128f
PS3, Line 85:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/35613168_b9ebb059
PS3, Line 86: #define TSC0 0
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fd7e4836_7835a763
PS3, Line 87: #define TSC1 1
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/65745c9b_cf8e96e4
PS3, Line 88: #define TSC2 2
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bfaf1e32_420a5592
PS3, Line 89: #define TSC3 3
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/15f51a2f_1a9afad5
PS3, Line 90: #define TSC4 4
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/66373faa_7da2e110
PS3, Line 91: #define TSC5 5
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d03f8b30_1f372e1b
PS3, Line 92: #define TSC6 6
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/77402768_7773a65a
PS3, Line 93: #define TSC7 7
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e9f6fdb3_934e7fa6
PS3, Line 94: #define TS_DUMMY 8
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6490f288_d4d11ad1
PS3, Line 95:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f3ab86ed_42704c50
PS3, Line 96: #define TRAIN_SEQ_NUM 9
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/54c8dc87_dc299b89
PS3, Line 97:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/01b5a0a0_048359e0
PS3, Line 98: #define TIMESLOT0 0
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ec128405_5dee214a
PS3, Line 99: #define TIMESLOT1 1
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/70fca779_0fcd70f2
PS3, Line 100: #define TIMESLOT2 2
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eb42394d_d26631b3
PS3, Line 101: #define TIMESLOT3 3
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/450f6745_bf969d9f
PS3, Line 102: #define TIMESLOT4 4
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e9a6a8ec_4bbdda02
PS3, Line 103: #define TIMESLOT5 5
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3c5657d3_d259a9f4
PS3, Line 104: #define TIMESLOT6 6
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fcc73a1d_0e51f61d
PS3, Line 105: #define TIMESLOT7 7
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/97b15515_f2839b05
PS3, Line 106:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c5a3fd0f_2950645d
PS3, Line 107:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c1a5e4f8_3edb3466
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/82e9368d_5e158bee
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/10c861fa_72d4c38b
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/33a00ebb_5ff44b3e
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/adb2031f_b889b524
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9758c14a_7b7f32ba
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/599bdcc7_d89b5e20
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e20d5b39_6eb7bb0b
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/61ec141b_5bb37627
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4323ba89_3cd51e3c
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/648fb32a_779922ff
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d7f156c9_32618bb4
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/37e1dffe_b8f84ff0
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/612a250f_38ece580
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/909e9314_ff798a43
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a1f3dca2_aa854cc8
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/94714898_3dcc87ff
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d88491e5_0e9447b9
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f50d5e8a_ca161bb0
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d2988494_4d0fba54
PS3, Line 118: };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dc8b4c37_e68f01be
PS3, Line 119:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0220da44_881de942
PS3, Line 120:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/37bb08a9_4e2054d2
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a67fa457_ab0bb1f2
PS3, Line 122: static const unsigned char dummy_burst[] = {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/274b40b7_24767beb
PS3, Line 123: 0, 0, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/61925abf_e5724480
PS3, Line 123: 0, 0, 0,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/91c0f806_000ab3b8
PS3, Line 124: 1, 1, 1, 1, 1, 0, 1, 1, 0, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/49dfa0c8_15053199
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ef791d4d_2a4de513
PS3, Line 125: 1, 1, 0, 1, 1, 0, 0, 0, 0, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f1d98957_42795aa0
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/672c9633_5f32c41c
PS3, Line 126: 1, 0, 1, 0, 0, 1, 0, 0, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/562bc42c_d336db46
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/250e120a_271717c3
PS3, Line 127: 1, 0, 0, 0, 0, 0, 1, 0, 0, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c1d2f82f_6b4895e4
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/07ffa6fc_d42d428c
PS3, Line 128: 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/43896e02_ad15b8f5
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8420bba0_28a917d3
PS3, Line 129: 0, 1, 1, 1, 1, 1, 0, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/09da7f6d_75fdda75
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/69f942b5_c75fdbcf
PS3, Line 130:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4b2695c3_e4becc2f
PS3, Line 131: 0, 1, 1, 1, 0, 0, 0, 1, 0, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/161e1b7c_a5dda3ba
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0c02f44d_27c8ca14
PS3, Line 132: 1, 1, 0, 0, 0, 1, 0, 1, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7f02f834_b7692c4c
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e641699c_45cdfb3f
PS3, Line 133: 0, 0, 0, 1, 0, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ed9f3c54_cd28c8a9
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cb2e0d43_a1bf0eb9
PS3, Line 134:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/85c65ba9_3fcd6db9
PS3, Line 135: 0, 1, 1, 1, 0, 1, 0, 0, 1, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b6265ea5_99ce5e8a
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9ac8e204_cbb4fdcb
PS3, Line 136: 1, 0, 0, 0, 1, 1, 0, 0, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9456f723_4099c195
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a4118e24_ea10ca20
PS3, Line 137: 0, 0, 1, 1, 1, 0, 0, 1, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/134daeaa_373a10c3
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8212ef11_8d36adbb
PS3, Line 138: 1, 0, 1, 0, 0, 1, 1, 1, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1c9f68a9_26dd8fae
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/63676fdd_a3cf0bb8
PS3, Line 139: 0, 0, 0, 1, 0, 0, 1, 0, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/98eb7925_458cc21d
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4b1058c7_403f925a
PS3, Line 140: 1, 1, 1, 0, 1, 0, 1, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c90d442b_a622627a
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0970e760_706f1fe4
PS3, Line 141: 0, 0, 0
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/92e3cda9_e1726df8
PS3, Line 141: 0, 0, 0
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/300dff43_e68a96d2
PS3, Line 142: };
DOS line endings
File Transceiver52M/grgsm_vitac/grgsm_vitac.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/382d5ff7_835d0781
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4bdc6b35_f0082d5c
PS3, Line 38: void initvita();
Bad function definition - void initvita() should probably be void initvita(void)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ad6b135a_0d369adf
PS3, Line 59: std::string fpath;
labels should not be indented
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/65737d9a_d1925e35
PS3, Line 60: std::vector<gr_complex> data;
spaces required around that '<' (ctx:VxV)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/be6216ba_820cdfd7
PS3, Line 60: std::vector<gr_complex> data;
spaces required around that '>' (ctx:VxW)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/de70841a_8ea9f9fc
PS3, Line 60: std::vector<gr_complex> data;
labels should not be indented
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/201912e0_cb879b8c
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7f1a57f6_1cda4d44
PS3, Line 1: /* -*- c++ -*- */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e0969a97_f91642a8
PS3, Line 2: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6221f6d2_383b0a1e
PS3, Line 3: * @file
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/434aa87c_58801632
PS3, Line 4: * @author (C) 2009-2017 by Piotr Krysik <ptrkrysik(a)gmail.com>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/76552417_dc9ba0d6
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/772e6272_d732b5a8
PS3, Line 6: * @section LICENSE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/45cd1c16_a5035881
PS3, Line 7: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9a07ff42_25adb761
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e9d5e8c6_1d4ee704
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ba65e762_07abc8f5
PS3, Line 10: * the Free Software Foundation; either version 3, or (at your option)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ae5099a9_97be38bb
PS3, Line 11: * any later version.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1f863e2c_135f3318
PS3, Line 12: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/63ac44f5_544c07dd
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c0e5da0b_af3007e8
PS3, Line 14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/32063ca1_c211c888
PS3, Line 15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/feabf137_0a6abef2
PS3, Line 16: * GNU General Public License for more details.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/26ac41c7_1601b55c
PS3, Line 17: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/87dddb84_f6e1144c
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ffdd6780_f85eb4c9
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f5f4bccb_2003f611
PS3, Line 20: * the Free Software Foundation, Inc., 51 Franklin Street,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/74f1a26c_13809d46
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/afd8e2d7_cc9b6541
PS3, Line 21: * Boston, MA 02110-1301, USA.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6c158217_4816a319
PS3, Line 22: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dc928e47_1153221d
PS3, Line 23:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c7edbbe5_7ec5946b
PS3, Line 24: #include "constants.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0049b479_c82cb2f1
PS3, Line 25:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eaabddf7_fed0f26d
PS3, Line 26: #ifdef HAVE_CONFIG_H
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/90bcb99f_6d4f9fa5
PS3, Line 27: #include "config.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/737b24e9_61422ed8
PS3, Line 28: #endif
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2f878da7_d16eb9a7
PS3, Line 29: #include <complex>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b7b9ccb9_4c19b8cc
PS3, Line 30:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a74fc131_3668bb27
PS3, Line 31:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d63eff6a_7dbe77c9
PS3, Line 32: #include <algorithm>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ad3018cd_fec02aaa
PS3, Line 33: #include <string.h>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/80b86cb2_7f768e86
PS3, Line 34: #include <iostream>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f0faea20_5817cb98
PS3, Line 35: #include <numeric>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/63e2ef52_08cd5b23
PS3, Line 36: #include <vector>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b3efe269_7d93212a
PS3, Line 37: #include <fstream>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/13b11c04_4ccfa701
PS3, Line 38:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ba529ead_11a9ff8c
PS3, Line 39: #include "viterbi_detector.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9946d0cb_13286eaa
PS3, Line 40: #include "grgsm_vitac.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fcf43011_4d0d4bb1
PS3, Line 41:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/51a20e17_41900442
PS3, Line 42: //signalVector mChanResp;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ff85446f_3b5776fd
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c0461420_2e44049d
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/46c4320e_c26dea17
PS3, Line 45: const int d_chan_imp_length = CHAN_IMP_RESP_LENGTH;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3ca26744_8966b9b4
PS3, Line 46:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f9b22725_eb6ec548
PS3, Line 47: void initvita() {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a6fa9dfb_9aae998a
PS3, Line 48:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e52cc1e5_289e89b0
PS3, Line 49: /**
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5eb04fcc_7fe18c8c
PS3, Line 50: * Prepare SCH sequence bits
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a35bb86c_8852b889
PS3, Line 51: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7c7ad75a_0bab3b55
PS3, Line 52: * (TS_BITS + 2 * GUARD_PERIOD)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/07020d1d_386c09de
PS3, Line 53: * Burst and two guard periods
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/455715f7_3332522a
PS3, Line 54: * (one guard period is an arbitrary overlap)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/678b1040_61d20797
PS3, Line 55: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/924e69b0_28eb1456
PS3, Line 56: gmsk_mapper(SYNC_BITS, N_SYNC_BITS,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ab0d9f3d_50c95149
PS3, Line 57: d_sch_training_seq, gr_complex(0.0, -1.0));
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3abc1791_2724af7b
PS3, Line 58: for (auto &i : d_sch_training_seq)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e1cafd63_3768d2c1
PS3, Line 59: i = conj(i);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/54aa60bb_d61f37b5
PS3, Line 60:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ea3c5268_d1915a15
PS3, Line 61: /* Prepare bits of training sequences */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1cc16c2e_0dfd2061
PS3, Line 62: for (int i = 0; i < TRAIN_SEQ_NUM; i++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/06fa95e9_0fa4d71a
PS3, Line 63: /**
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1a3b284f_561ecf8d
PS3, Line 64: * If first bit of the sequence is 0
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b2e3665d_a8bda5d3
PS3, Line 65: * => first symbol is 1, else -1
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cc251918_7d82872b
PS3, Line 66: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8ca4d060_f65005b4
PS3, Line 67: gr_complex startpoint = train_seq[i][0] == 0 ?
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f8cd2854_7b626082
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7619db9d_63a7d399
PS3, Line 69: gmsk_mapper(train_seq[i], N_TRAIN_BITS,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/124ead64_5a255580
PS3, Line 70: d_norm_training_seq[i], startpoint);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8ff59c6b_39cd550a
PS3, Line 71: for (auto &i : d_norm_training_seq[i])
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/81f94d2c_b06f87bf
PS3, Line 72: i = conj(i);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/72c5ff26_a668bb5b
PS3, Line 73: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2d4944ac_b728e808
PS3, Line 74:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/54cff608_238617b7
PS3, Line 75: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b3635daf_1938d6ba
PS3, Line 76:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/77c8b7bc_0f73cfa0
PS3, Line 77: MULTI_VER_TARGET_ATTR
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f10d3dfd_ff49ca37
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fbe1dbc6_822707e8
PS3, Line 79: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/40c07bd3_bddfed79
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c324249c_ebbfcfec
PS3, Line 81: unsigned int stop_states[2] = { 4, 12 };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/45592198_07cdd50b
PS3, Line 82: gr_complex filtered_burst[BURST_SIZE];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a071bd9b_1ffd160d
PS3, Line 83: gr_complex rhh[CHAN_IMP_RESP_LENGTH];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/65a5281b_a62e9d6a
PS3, Line 84: float output[BURST_SIZE];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8002e6c6_2f257b50
PS3, Line 85: int start_state = 3;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9dbef558_bed98bed
PS3, Line 86:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fe647fe7_1a0380d3
PS3, Line 87: // if(burst_start < 0 ||burst_start > 10)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/40f21f5a_3469af6d
PS3, Line 88: // fprintf(stderr, "bo %d\n", burst_start);
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2cf39bd3_76f6cbc3
PS3, Line 89:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/15f7f7e7_f03e3de9
PS3, Line 90: // burst_start = burst_start >= 0 ? burst_start : 0;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2cac09a3_77b1fa43
PS3, Line 91:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/86df286b_0b7decdc
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0f60ed44_a4e6f502
PS3, Line 93: for (int ii = 0; ii < d_chan_imp_length; ii++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8fbec567_e2866f75
PS3, Line 94: rhh[ii] = conj(rhh_temp[ii * d_OSR]);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b84e3607_7ab5af68
PS3, Line 95:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/30b68ad4_0b57005a
PS3, Line 96: mafi(&input[burst_start], BURST_SIZE, chan_imp_resp,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ae0e9b6f_dbd78cee
PS3, Line 97: d_chan_imp_length * d_OSR, filtered_burst);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/341903da_0a2719b4
PS3, Line 98:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ab67138a_ad6c4b23
PS3, Line 99: viterbi_detector(filtered_burst, BURST_SIZE, rhh,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d41bff08_ea6f08e2
PS3, Line 100: start_state, stop_states, 2, output);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a680aa1d_21fba8ce
PS3, Line 101:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0cc20b54_30e7aa8c
PS3, Line 102: for (int i = 0; i < BURST_SIZE; i++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/48e8a92f_245bf457
PS3, Line 103: output_binary[i] = output[i] * -127; // pre flip bits!
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b68f4cd1_9d678d04
PS3, Line 104: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9c5b866d_578b7a00
PS3, Line 105:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c94939af_81a2ae54
PS3, Line 106: void
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/258757e1_beb520d7
PS3, Line 107: gmsk_mapper(const unsigned char* input,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b9da758c_a2f5b0f2
PS3, Line 108: int nitems, gr_complex* gmsk_output, gr_complex start_point)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b951da93_ee6dcb29
PS3, Line 109: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/02924b7a_6460f172
PS3, Line 110: gr_complex j = gr_complex(0.0, 1.0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/316a00fc_e59dedf0
PS3, Line 111: gmsk_output[0] = start_point;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d04e5046_8eb5fd9a
PS3, Line 112:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2b7edd6c_b7524c86
PS3, Line 113: int previous_symbol = 2 * input[0] - 1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7866719b_4afda48d
PS3, Line 114: int current_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f8f28e35_867ec03c
PS3, Line 115: int encoded_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e8d30b8e_476411e0
PS3, Line 116:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/58cf6e49_c8249118
PS3, Line 117: for (int i = 1; i < nitems; i++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f4826b67_178e35e0
PS3, Line 118: /* Change bits representation to NRZ */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7c6b05a7_46a4188c
PS3, Line 119: current_symbol = 2 * input[i] - 1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b0356508_f7ab6a06
PS3, Line 120:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6284a024_18d75e56
PS3, Line 121: /* Differentially encode */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5488b33c_76763be4
PS3, Line 122: encoded_symbol = current_symbol * previous_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f6cf8b6b_73fc0e19
PS3, Line 123:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c679df49_0dbfe340
PS3, Line 124: /* And do GMSK mapping */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/42e27d12_9f10b515
PS3, Line 125: gmsk_output[i] = j * gr_complex(encoded_symbol, 0.0)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8087f193_a5ea5c45
PS3, Line 126: * gmsk_output[i - 1];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7e4a3199_60ecbc3c
PS3, Line 127:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4495cb8b_66f98d7d
PS3, Line 128: previous_symbol = current_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b2880322_e21465de
PS3, Line 129: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7a4666d7_e69c419d
PS3, Line 130: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ed3a6865_91785361
PS3, Line 131:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/be6e1ccd_4b8fc1ae
PS3, Line 132: gr_complex
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d314a110_34e2ab40
PS3, Line 133: correlate_sequence(const gr_complex* sequence,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cadfb978_b6ea0316
PS3, Line 134: int length, const gr_complex* input)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/04569eda_6f728cd8
PS3, Line 135: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8c7cc045_fa424cd0
PS3, Line 136: gr_complex result(0.0, 0.0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/291a6d47_b5fb8720
PS3, Line 137:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/04e0467e_d71c4db4
PS3, Line 138: for (int ii = 0; ii < length; ii++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/86357947_45f09763
PS3, Line 139: result += sequence[ii] * input[ii * d_OSR];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/776b7a9c_87254bcb
PS3, Line 140:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e132fb36_59452fec
PS3, Line 141: return conj(result) / gr_complex(length, 0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0f9e886f_cc11d017
PS3, Line 142: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d8efe1e5_2cff968f
PS3, Line 143:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a2bca73a_baeddfb0
PS3, Line 144: /* Computes autocorrelation for positive arguments */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/412d966d_ba9fbbcb
PS3, Line 145: inline void
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d4137963_8c35a4d2
PS3, Line 146: autocorrelation(const gr_complex* input,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f6eed540_2b0e53b0
PS3, Line 147: gr_complex* out, int nitems)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a97808e3_21625f5f
PS3, Line 148: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8a632af4_b4555d1e
PS3, Line 149: for (int k = nitems - 1; k >= 0; k--) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a3607cbb_f7dc24e3
PS3, Line 150: out[k] = gr_complex(0, 0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/87297b01_f9202f22
PS3, Line 151: for (int i = k; i < nitems; i++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/36418966_93720241
PS3, Line 152: out[k] += input[i] * conj(input[i - k]);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/05062ec4_bc787f4e
PS3, Line 153: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b9bd824d_ecdb2006
PS3, Line 154: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/179b54b3_553a0967
PS3, Line 155:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e5bf5fe8_369dbe44
PS3, Line 156: inline void
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a0f8d6b4_c1283246
PS3, Line 157: mafi(const gr_complex* input, int nitems,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cb18aaf2_eda99be9
PS3, Line 158: gr_complex* filter, int filter_length, gr_complex* output)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3e7c3ebf_42cf8f03
PS3, Line 159: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/06e4ee60_8f4ed07f
PS3, Line 160: for (int n = 0; n < nitems; n++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/07ac1992_c2386fe0
PS3, Line 161: int a = n * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2ee4e948_d3a7af31
PS3, Line 162: output[n] = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1bc48e2a_3f5d29de
PS3, Line 163:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b87322de_b09a51f6
PS3, Line 164: for (int ii = 0; ii < filter_length; ii++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e169f853_f88a0017
PS3, Line 165: if ((a + ii) >= nitems * d_OSR)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bacb5641_70034bcc
PS3, Line 166: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b2a94356_36e25b0b
PS3, Line 167:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8718ad5c_64eff812
PS3, Line 168: output[n] += input[a + ii] * filter[ii];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a07eb828_10f9c9a1
PS3, Line 169: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dfa900de_20d98cc5
PS3, Line 170: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6f8e22ac_38e075e0
PS3, Line 171: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b735d7b7_af1434ed
PS3, Line 172:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/62785317_024126a4
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aabcef55_e0048a07
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3c98ee05_faab9468
PS3, Line 175: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ea4925f5_8e0d1152
PS3, Line 176: std::vector<gr_complex> correlation_buffer;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d61be857_38fd5a8c
PS3, Line 177: std::vector<float> window_energy_buffer;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8c4c14cb_c0b659d9
PS3, Line 178: std::vector<float> power_buffer;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/01673ee3_162b4db2
PS3, Line 179:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fbc46ed5_271ce47d
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a28ce6c1_c8513734
PS3, Line 181: gr_complex correlation = correlate_sequence(tseq, tseqlen,
&input[ii]);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b2c8c691_bfb53e14
PS3, Line 182: correlation_buffer.push_back(correlation);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/11838de1_86710aae
PS3, Line 183: power_buffer.push_back(std::pow(abs(correlation), 2));
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4af365d8_a24ceab2
PS3, Line 184: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/58407c51_5cc59e03
PS3, Line 185:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/139beb9f_2a134377
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/987b31fe_303a13da
PS3, Line 187:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/77920c44_0d24c32d
PS3, Line 188: /* Compute window energies */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ed4fe791_c4cd5048
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6978d9a1_d3989f09
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a3926262_4505623f
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/29bec182_0427b9a5
PS3, Line 192: auto iter = power_buffer.begin() + window_energy_start_offset;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c3c83986_15e4b8f9
PS3, Line 193: auto iter_end = power_buffer.begin() + window_energy_end_offset;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7bcc6671_c6c09a3f
PS3, Line 194: while (iter != iter_end) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/67c07758_9a673c2e
PS3, Line 195: std::vector<float>::iterator iter_ii = iter;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1f74e514_1763198d
PS3, Line 196: bool loop_end = false;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f539abbc_1b948cc3
PS3, Line 197: float energy = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7194d7f0_0747ab41
PS3, Line 198:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d31526d5_c8598c2e
PS3, Line 199: int len = d_chan_imp_length * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bf3812b2_3ca419e9
PS3, Line 200: for (int ii = 0; ii < len; ii++, iter_ii++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/656192db_104f64db
PS3, Line 201: if (iter_ii == power_buffer.end()) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a9294aff_9d6c216a
PS3, Line 202: loop_end = true;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9b74c74e_932aef98
PS3, Line 203: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1ef2d8d7_111e7679
PS3, Line 204: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3dba79d9_bbaf0b14
PS3, Line 205:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3faffd1a_b4ef7473
PS3, Line 206: energy += (*iter_ii);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e75fc08c_8a395426
PS3, Line 207: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ad08311d_7997ba73
PS3, Line 208:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/80086df1_ede17c55
PS3, Line 209: if (loop_end)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b4cc3eca_d479e1a4
PS3, Line 210: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b3e3d76e_b72eb044
PS3, Line 211:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a7d3c923_ae466abf
PS3, Line 212: window_energy_buffer.push_back(energy);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c00720e4_f974581b
PS3, Line 213: iter++;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/56cd56f0_d0a7b032
PS3, Line 214: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/36b5e352_ed9260e9
PS3, Line 215:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9e32b9cd_d04a04d9
PS3, Line 216: /* Calculate the strongest window number */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e887605d_58780e69
PS3, Line 217: int strongest_window_nr = window_energy_start_offset +
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4e4f8021_82366426
PS3, Line 218: max_element(window_energy_buffer.begin(), window_energy_buffer.end())
-
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9a3232f8_aa7019da
PS3, Line 219: window_energy_buffer.begin();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/702f5ad5_12e61e40
PS3, Line 220:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8feb580b_ab19a08d
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9d8959b8_641e10c6
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/63d4962d_184f8856
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6e926262_0e00d3d7
PS3, Line 224:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4e9dcab6_d843624b
PS3, Line 225: // /* Calculate the strongest window number */
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5f66127a_a278a580
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/be89a9a9_56f2da6f
PS3, Line 227:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cc4d309b_ebca819a
PS3, Line 228: // if (strongest_window_nr < 0)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c1e8b734_6407d6ac
PS3, Line 229: // strongest_window_nr = 0;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f94067af_6f219d8a
PS3, Line 230:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/73ddc210_dacf2ea6
PS3, Line 231: float max_correlation = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6afd982d_8ce950e5
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/79e3b586_cc753846
PS3, Line 233: gr_complex correlation = correlation_buffer[strongest_window_nr + ii];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5abf4aa4_923e6269
PS3, Line 234: if (abs(correlation) > max_correlation)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a639adb9_1ec7ee99
PS3, Line 235: max_correlation = abs(correlation);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b2eb2bee_2ca7a57c
PS3, Line 236: chan_imp_resp[ii] = correlation;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7ed4df72_9e7b384d
PS3, Line 237: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7aab926f_c56556cc
PS3, Line 238:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/05d48376_a4763e14
PS3, Line 239: *corr_max = max_correlation;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/569bb0cc_33f5ded0
PS3, Line 240:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/26304c4c_3ad3b512
PS3, Line 241: /**
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/613ff9ce_5dda7612
PS3, Line 242: * Compute first sample position, which corresponds
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5ed37848_891ce43c
PS3, Line 243: * to the first sample of the impulse response
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6d63a199_e7706dfc
PS3, Line 244: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8838e92e_71345970
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3d5ab922_48e130dd
PS3, Line 246: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c8908dab_30f4e979
PS3, Line 247:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/db34c72b_716fdedd
PS3, Line 248: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/678a10b8_adef5db4
PS3, Line 249:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d9c18853_2dec3790
PS3, Line 250: 3 + 57 + 1 + 26 + 1 + 57 + 3 + 8.25
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b44234ad_b45cf2ce
PS3, Line 251:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/948591d8_3ffd5287
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/712dbb11_241929ce
PS3, Line 253: this is +-5 samples around (+5 beginning) of truncated t16 tsc
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/19b1b195_57aa07fd
PS3, Line 254:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4e6d0061_19ce60e7
PS3, Line 255: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5f8347dc_3114db9f
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1150f59b_9957ec3e
PS3, Line 257: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/44a4ddd3_26dfd6eb
PS3, Line 258: const int search_center = TRAIN_POS;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a1c002f7_0a9e65b8
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/243a9b54_72c563cf
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c83cce28_f52a4855
PS3, Line 261: const auto tseq = &d_norm_training_seq[bcc][TRAIN_BEGINNING];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b842e069_ceafeed4
PS3, Line 262: const auto tseqlen = N_TRAIN_BITS - (2 * TRAIN_BEGINNING);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/541b4817_0a100332
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1761030d_92bbd40f
PS3, Line 264: corr_max);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4353aebf_bcbeeba5
PS3, Line 265: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d70da8dd_9d4584ac
PS3, Line 266:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c761c50d_0edf193d
PS3, Line 267: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2954d3e6_b83d0192
PS3, Line 268:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e1e5e35f_7ef03056
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/58cade17_b375aab7
PS3, Line 270: start 3+39 - 10
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/22e4a03a_217943d1
PS3, Line 271: end 3+39 + SYNC_SEARCH_RANGE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/571973fb_f8dd5017
PS3, Line 272:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/10a1214e_b54673bc
PS3, Line 273: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4f2ec18c_f4f959ee
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a1157edd_d2105a93
PS3, Line 275: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/777dd4c9_49b64b76
PS3, Line 276: const int search_center = SYNC_POS + TRAIN_BEGINNING;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1adffc8c_36b62a65
PS3, Line 277: const int search_start_pos = (search_center - 10) * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f92c1abe_b1215735
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d31a53cd_96fcdd50
PS3, Line 279: const auto tseq = &d_sch_training_seq[TRAIN_BEGINNING];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d8055f55_9d2e16e5
PS3, Line 280: const auto tseqlen = N_SYNC_BITS - (2 * TRAIN_BEGINNING);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6e6b3417_2358b11d
PS3, Line 281:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bd1618a5_f293c064
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3c523089_ef3ca283
PS3, Line 283: float corr_max;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dfcd011a_be9fbea6
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6e670e2a_85baf035
PS3, Line 285: &corr_max);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1082a329_fa1bd43a
PS3, Line 286: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c42f89f0_297526cf
PS3, Line 287:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1e346df4_680f122f
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a267f79f_2751d1c8
PS3, Line 289: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/42865dde_0e46db93
PS3, Line 290: const auto tseqlen = N_SYNC_BITS - (2 * TRAIN_BEGINNING);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/82929ba6_dbddde7d
PS3, Line 291: const int search_center = SYNC_POS + TRAIN_BEGINNING;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3ce4503b_220358f0
PS3, Line 292: const int search_start_pos = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/09487e5d_f02e5b6a
PS3, Line 293: // FIXME: proper end offset
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/074ccd4f_3c69c651
PS3, Line 294: const int search_stop_pos = len - (N_SYNC_BITS*8);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aa0b6e67_27190090
PS3, Line 295: auto tseq = &d_sch_training_seq[TRAIN_BEGINNING];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ee62b152_b4729ee1
PS3, Line 296:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a3a83f5d_89fc53d0
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9d47da7d_12bc7343
PS3, Line 298: corr_max);
DOS line endings
File Transceiver52M/grgsm_vitac/viterbi_detector.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cc8da0ff_e158d322
PS3, Line 1: /* -*- c++ -*- */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3f812dbe_c433387e
PS3, Line 2: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e5045e15_1721b4f3
PS3, Line 3: * @file
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/98756fa6_a08abbe0
PS3, Line 4: * @author (C) 2009 Piotr Krysik <ptrkrysik(a)gmail.com>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bc441fdc_c7d63745
PS3, Line 5: * @section LICENSE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5d1fe0bf_c1b26aa2
PS3, Line 6: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/94b5aa48_761911d7
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9324256e_45eee077
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9fb503a2_ef3b5aec
PS3, Line 9: * the Free Software Foundation; either version 3, or (at your option)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b5289177_f06055e3
PS3, Line 10: * any later version.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1580e15d_a5a7ad66
PS3, Line 11: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/02b180fb_858f601d
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c00ae49e_0205cd74
PS3, Line 13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4c326670_fdcc2cfa
PS3, Line 14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b4a46afb_99ad0461
PS3, Line 15: * GNU General Public License for more details.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/44eeaea7_843721f4
PS3, Line 16: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9a6f5de5_5d4d752b
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8fed45f8_7e7de5b3
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e216e15d_fa206574
PS3, Line 19: * the Free Software Foundation, Inc., 51 Franklin Street,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ee7fe7cc_221bb9f2
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7fce3c34_3d737953
PS3, Line 20: * Boston, MA 02110-1301, USA.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/84429be6_3dd34bc5
PS3, Line 21: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/940fae45_3c113297
PS3, Line 22:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b89f694a_a8d2c4f7
PS3, Line 23: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/afcb541e_74ff6e6e
PS3, Line 24: * viterbi_detector:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1dd0a502_4f41fed3
PS3, Line 25: * This part does the detection of received sequnece.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d3caf30f_bfeff46a
PS3, Line 26: * Employed algorithm is viterbi Maximum Likehood Sequence
Estimation.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/338da7e7_f216c5c3
PS3, Line 27: * At this moment it gives hard decisions on the output, but
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1e45728a_6cbe202d
PS3, Line 28: * it was designed with soft decisions in mind.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9e40bc52_06378a71
PS3, Line 29: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6ace9104_b7d7b170
PS3, Line 30: * SYNTAX: void viterbi_detector(
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/946e3118_fb868967
PS3, Line 31: * const gr_complex * input,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/59630dad_1d95988d
PS3, Line 32: * unsigned int samples_num,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/864ec411_8f57f5f7
PS3, Line 33: * gr_complex * rhh,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/85277b70_b7079908
PS3, Line 34: * unsigned int start_state,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/af53e95a_52ec3a7e
PS3, Line 35: * const unsigned int * stop_states,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3f1ff4cc_0ca900cb
PS3, Line 36: * unsigned int stops_num,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c6451425_08d1c3cf
PS3, Line 37: * float * output)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4e826261_ecc126a8
PS3, Line 38: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8decb550_1e67f09f
PS3, Line 39: * INPUT: input: Complex received signal afted matched filtering.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b502e093_44c8999a
PS3, Line 40: * samples_num: Number of samples in the input table.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2f72aec2_690ad683
PS3, Line 41: * rhh: The autocorrelation of the estimated channel
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/05e2f1ab_2778719a
PS3, Line 42: * impulse response.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/89073700_44efb27b
PS3, Line 43: * start_state: Number of the start point. In GSM each burst
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/051152b1_acd2d622
PS3, Line 44: * starts with sequence of three bits (0,0,0) which
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fdea9c6a_7cc6577e
PS3, Line 45: * indicates start point of the algorithm.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f1736ecf_fd569340
PS3, Line 46: * stop_states: Table with numbers of possible stop states.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5bda0084_f8cd2d0b
PS3, Line 47: * stops_num: Number of possible stop states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d1c23466_0478bbdf
PS3, Line 48: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/613758ce_c939bf33
PS3, Line 49: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/57cb0520_f90752f4
PS3, Line 50: * OUTPUT: output: Differentially decoded hard output of the
algorithm:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/76c03c94_0c0b97d3
PS3, Line 51: * -1 for logical "0" and 1 for logical
"1"
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/918ccd55_167ca878
PS3, Line 52: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a99a8f3b_312f2e9a
PS3, Line 53: * SUB_FUNC: none
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ac5d42d3_5e57322c
PS3, Line 54: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1b8a4100_58330a4f
PS3, Line 55: * TEST(S): Tested with real world normal burst.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e6f68981_35d47235
PS3, Line 56: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/33cb1ebc_25f15241
PS3, Line 57:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/179bc4ca_2630603d
PS3, Line 58: #ifndef INCLUDED_VITERBI_DETECTOR_H
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d47f17cb_51029c8d
PS3, Line 59: #define INCLUDED_VITERBI_DETECTOR_H
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/228181a7_95db02d1
PS3, Line 60: #include "constants.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/020f2da7_20db41ea
PS3, Line 61:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aad46c3a_900c3e67
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e023a8b8_b6f55da4
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cf2ca289_8ecc09bc
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/675cce90_4fe09478
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5250d3b6_bf95d573
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/85a00e2c_87bee036
PS3, Line 63:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b0d650f2_a0289e4c
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5519801b_fc90aae9
PS3, Line 1: /* -*- c++ -*- */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0374f5c4_c8677b8c
PS3, Line 2: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6fa98f6d_3540e6dc
PS3, Line 3: * @file
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/10c0454e_c8eea552
PS3, Line 4: * @author (C) 2009 by Piotr Krysik <ptrkrysik(a)gmail.com>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5c470b80_7204c894
PS3, Line 5: * @section LICENSE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b44f403a_52f39498
PS3, Line 6: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b8793732_cceed715
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4cf10099_3f8d9cc3
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e223ed19_9fc31741
PS3, Line 9: * the Free Software Foundation; either version 3, or (at your option)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/47246e84_e3bd4e9f
PS3, Line 10: * any later version.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1df0ef87_b2f4c330
PS3, Line 11: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6fba651c_b14c8ae6
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a066b211_7b936904
PS3, Line 13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b62bbf29_c8fe47a6
PS3, Line 14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e278a50e_ff7aa688
PS3, Line 15: * GNU General Public License for more details.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cb0b0428_a0728443
PS3, Line 16: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f0ebff1d_efdb9d00
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/df3f6d30_64d671cb
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f6bd9af3_daf1a71b
PS3, Line 19: * the Free Software Foundation, Inc., 51 Franklin Street,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/06cca92a_f437ca69
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c4fae301_b2948890
PS3, Line 20: * Boston, MA 02110-1301, USA.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8fc9da77_3cb694c0
PS3, Line 21: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d7add488_ce52ced5
PS3, Line 22:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/db6a44dc_c8e2c27a
PS3, Line 23: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c78922bc_d3c282f5
PS3, Line 24: * viterbi_detector:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a4cbfb95_26e04b45
PS3, Line 25: * This part does the detection of received sequnece.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d9e95941_bf44feb8
PS3, Line 26: * Employed algorithm is viterbi Maximum Likehood Sequence
Estimation.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/65402c76_83fc7a65
PS3, Line 27: * At this moment it gives hard decisions on the output, but
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8832cd45_e8359dc9
PS3, Line 28: * it was designed with soft decisions in mind.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/285193c9_374191dd
PS3, Line 29: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8880fd19_236023f3
PS3, Line 30: * SYNTAX: void viterbi_detector(
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9733302e_561d46e0
PS3, Line 31: * const gr_complex * input,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a935653a_c692e59b
PS3, Line 32: * unsigned int samples_num,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a22b910f_6793a4f0
PS3, Line 33: * gr_complex * rhh,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aeb3176b_1ce04a55
PS3, Line 34: * unsigned int start_state,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/26206f61_c5456b2c
PS3, Line 35: * const unsigned int * stop_states,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ca5b57da_cd561b9c
PS3, Line 36: * unsigned int stops_num,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e66b81ce_7e3feba3
PS3, Line 37: * float * output)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2b276616_84b1b9ba
PS3, Line 38: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e1365c23_32d23f02
PS3, Line 39: * INPUT: input: Complex received signal afted matched filtering.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c5f56e9f_aaaf1f4a
PS3, Line 40: * samples_num: Number of samples in the input table.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/922a9b11_f4bdbe08
PS3, Line 41: * rhh: The autocorrelation of the estimated channel
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bfc7fbe8_a237efce
PS3, Line 42: * impulse response.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/292220e7_174b0122
PS3, Line 43: * start_state: Number of the start point. In GSM each burst
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ace4cabb_b2a39fcb
PS3, Line 44: * starts with sequence of three bits (0,0,0) which
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c79eb07a_82ac54db
PS3, Line 45: * indicates start point of the algorithm.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c5deedf8_fc104e05
PS3, Line 46: * stop_states: Table with numbers of possible stop states.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0f1d19cc_8df529ea
PS3, Line 47: * stops_num: Number of possible stop states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/61246a3a_3b8fa48e
PS3, Line 48: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ebaecc0a_51c7577d
PS3, Line 49: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/090c99e3_7734c513
PS3, Line 50: * OUTPUT: output: Differentially decoded hard output of the
algorithm:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/569c5c4f_294fc7a3
PS3, Line 51: * -1 for logical "0" and 1 for logical
"1"
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/020d5a50_ddcd27f7
PS3, Line 52: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e289577f_9a488393
PS3, Line 53: * SUB_FUNC: none
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/63a9e082_fcd1331e
PS3, Line 54: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/73ea51e9_75d09049
PS3, Line 55: * TEST(S): Tested with real world normal burst.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/88b4f930_c928dd23
PS3, Line 56: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d284132c_c27c1ca6
PS3, Line 57:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/717b7807_4cde8172
PS3, Line 58: #include "constants.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1948671d_f2288c0e
PS3, Line 59: #include <cmath>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3e07a87b_1c440f90
PS3, Line 60:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/473ecdd0_8dfbbf78
PS3, Line 61: #define PATHS_NUM (1 << (CHAN_IMP_RESP_LENGTH-1))
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e795da7e_6218308b
PS3, Line 62:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0dd495f6_9e87a317
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0d8f8bd3_21906824
PS3, Line 64: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/021b725d_d27e2ceb
PS3, Line 65: float increment[8];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/df28a8b7_4418cb8c
PS3, Line 66: float path_metrics1[16];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/334a7e45_8274d286
PS3, Line 67: float path_metrics2[16];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/57db5fe7_fd19cdc9
PS3, Line 68: float paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/52708eff_4bbe5d5c
PS3, Line 69: float * new_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ab003cd5_6c05dc6e
PS3, Line 70: float * old_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a131131d_07bad66c
PS3, Line 71: float * tmp;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d45cbb4b_8e4a11f2
PS3, Line 72: float trans_table[BURST_SIZE][16];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f7787b89_970d7886
PS3, Line 73: float pm_candidate1, pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/40f63276_19cd134b
PS3, Line 74: bool real_imag;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0b951f8b_0a46f509
PS3, Line 75: float input_symbol_real, input_symbol_imag;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/559eae32_12de3303
PS3, Line 76: unsigned int i, sample_nr;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ef3fc283_77c77bbc
PS3, Line 77:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3f670444_2638a5ac
PS3, Line 78: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bd89c345_ddcbcf9b
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a21ca0f5_b10f0e4d
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3c766aef_50ad2e28
PS3, Line 81: * which makes them practically impossible to occur.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/27b178cf_f034064c
PS3, Line 82: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d67988a3_816b0d81
PS3, Line 83: for(i=0; i<PATHS_NUM; i++){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/88770f2e_c50464df
PS3, Line 84: path_metrics1[i]=(-10e30);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/83143d2f_35adcf06
PS3, Line 85: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3be4474e_adc46096
PS3, Line 86: path_metrics1[start_state]=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d815074b_22230e9d
PS3, Line 87:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7b48d78b_a2a54036
PS3, Line 88: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/08c7561d_fcd2c67f
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e5039a45_051aeb67
PS3, Line 90: * Increment is table of reference levels for computation of branch metrics:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f956452c_513a3d3d
PS3, Line 91: * branch metric = (+/-)received_sample (+/-) reference_level
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3d4b4f7a_76a4dc1e
PS3, Line 92: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2081b6d3_4cdaae4d
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/32c829ab_63293eac
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6d7e24c0_4313dc6e
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6970bd72_1879a4a9
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2de3a7e4_6f568bbb
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aa5dc91f_01d4bebb
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8dd16d74_316b6a0c
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ee42da4d_0ce0bba9
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9dd0c60d_c15abcfb
PS3, Line 101:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e7befe55_2ef054e6
PS3, Line 102:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b2820d05_609b0bc8
PS3, Line 103: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/100652d1_5d9c3acc
PS3, Line 104: * Computation of path metrics and decisions (Add-Compare-Select).
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0c8ff6a1_d5ede6c1
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/92a0ec0c_b5124455
PS3, Line 106: * and one for even samples (real numbers).
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fe158316_4b4778f4
PS3, Line 107: * Each part is composed of independent (parallelisable) statements like
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5631502f_93243065
PS3, Line 108: * this one:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b4417243_28402bd1
PS3, Line 109: * pm_candidate1 = old_path_metrics[0] -input_symbol_imag
+increment[2];
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/34df8390_2e8c48a1
PS3, Line 110: * pm_candidate2 = old_path_metrics[8] -input_symbol_imag
-increment[5];
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dfe1b422_00293b8a
PS3, Line 111: * paths_difference=pm_candidate2-pm_candidate1;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/49ddfe43_a7d4c662
PS3, Line 112: * new_path_metrics[1]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/637c1962_72a160f6
PS3, Line 113: * trans_table[sample_nr][1] = paths_difference;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/314a118c_72f6a1ba
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/377083ba_202c166c
PS3, Line 115: * consuming part of this function.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/78f339a2_fc4bcdc1
PS3, Line 116: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7e93a244_2909aae4
PS3, Line 117: sample_nr=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bfd54c39_74a309ae
PS3, Line 118: old_path_metrics=path_metrics1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f499df2a_7b3580f4
PS3, Line 119: new_path_metrics=path_metrics2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1e97a6ad_310c746b
PS3, Line 120: while(sample_nr<samples_num){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7aec79e7_68434c1d
PS3, Line 121: //Processing imag states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/58a02862_8876c5af
PS3, Line 122: real_imag=1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3128725e_bba59ca0
PS3, Line 123: input_symbol_imag = input[sample_nr].imag();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ad294e75_5b18e034
PS3, Line 124:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/074fe65b_59b37077
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/89ee4732_aaa0a52c
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7a36092e_7f5d8c6a
PS3, Line 127: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0a408c0e_513740f1
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2d48372e_3fca99fc
PS3, Line 129: trans_table[sample_nr][0] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a829d863_ead64606
PS3, Line 130:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3ff5efe9_605d4a59
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9eb1f0ad_4807b943
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5008d9d2_2f3496e0
PS3, Line 133: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/89901515_e9c850ce
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5e1ed129_c5eeb476
PS3, Line 135: trans_table[sample_nr][1] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e07ad6f4_66afc0c5
PS3, Line 136:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/69ee0fb4_b52dcac6
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b3641c11_1df3d737
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7f760ef1_c71b83be
PS3, Line 139: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2e9cf77b_aca38dbd
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/537aaf46_49be7597
PS3, Line 141: trans_table[sample_nr][2] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5e54463c_6de58e8e
PS3, Line 142:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/66544700_a07fb92a
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6eebbcad_468ff4ff
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eb81844a_21cb451a
PS3, Line 145: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f27d5e48_4eb26d8d
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/025e3b33_b27e0c9c
PS3, Line 147: trans_table[sample_nr][3] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0bd93b73_ca43cb07
PS3, Line 148:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/437c7b1e_411933f5
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/70338322_7998ade6
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5a2ff584_cbcb2287
PS3, Line 151: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0500bcb8_7773d36f
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/83bef26b_d2765850
PS3, Line 153: trans_table[sample_nr][4] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9407ce98_197909eb
PS3, Line 154:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/37af9ff2_b738d964
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2d259639_3344dba7
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bb99104e_e969b0ed
PS3, Line 157: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/17221f7a_c9948850
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b1292e5c_e0a420d3
PS3, Line 159: trans_table[sample_nr][5] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2438db48_e45d228f
PS3, Line 160:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0570da52_54c11a28
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/98718a08_d81a826b
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/07ea9ccf_42b89e2f
PS3, Line 163: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/578ae128_b4b704ee
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a9ab78a9_f1ea833d
PS3, Line 165: trans_table[sample_nr][6] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1561e532_edbad5a3
PS3, Line 166:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b1c47445_92c38472
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/845e7420_810dac2a
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/05579af2_d3233ac0
PS3, Line 169: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3ae49b89_a231ae9c
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4bfc1922_d5e1ca6e
PS3, Line 171: trans_table[sample_nr][7] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/82f68201_0a7cd86e
PS3, Line 172:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/602da7bc_bf97d9e3
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3f465f29_8ba1fbbb
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d7fe6de8_f5767886
PS3, Line 175: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/af497b7f_e3cb89d7
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b22b8cda_cda1ec05
PS3, Line 177: trans_table[sample_nr][8] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f6c04282_115ad075
PS3, Line 178:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7a7ab9ae_5f40be57
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a6ae049d_a7e2fab7
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e8a57fca_5093f863
PS3, Line 181: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/47367dc3_62663ca5
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a258c05b_fae61c48
PS3, Line 183: trans_table[sample_nr][9] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8f769bbc_f0befbb0
PS3, Line 184:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/13ba34cc_1a96839d
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/783c80d8_ef279309
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/946b90a9_f0055199
PS3, Line 187: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/936a4bab_4359613e
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b46dc9b1_efd3faf6
PS3, Line 189: trans_table[sample_nr][10] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7b4ea0b9_9710339d
PS3, Line 190:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/57c9c0a4_c4178a68
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/47c1234d_4a1fb0b4
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a900798e_04593f83
PS3, Line 193: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7fe30e45_f97b9cfd
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0e3198c3_58311a96
PS3, Line 195: trans_table[sample_nr][11] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/54b56258_a7a88ae0
PS3, Line 196:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a13d23e1_7d0a9565
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3b6eeec5_c9f839a3
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/be3c65bc_590ff535
PS3, Line 199: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e90a7e1c_d1143ece
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6aae9cfc_9a60018b
PS3, Line 201: trans_table[sample_nr][12] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/97941eeb_10bc2d2c
PS3, Line 202:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fdcc6926_a03b44ce
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e25ab601_da268bdd
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d3db4607_1f1c8015
PS3, Line 205: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/95017a7b_a0c6cd3f
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/13bf05ab_1cdf1845
PS3, Line 207: trans_table[sample_nr][13] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f97237ee_2a9f92ec
PS3, Line 208:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f5a4c6fb_7a372741
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8de2fe0e_f47aff1a
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/21375008_cc8d538d
PS3, Line 211: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/42b723f1_debe906e
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/013b59fc_692e1586
PS3, Line 213: trans_table[sample_nr][14] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ae859249_f55cc564
PS3, Line 214:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d1666610_b9254338
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/38113f11_7d69a61a
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c1c1269a_08024fd0
PS3, Line 217: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a1c2603b_9db3ba53
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0d642db3_0b2fa2b3
PS3, Line 219: trans_table[sample_nr][15] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/48a28aaa_f9b1f294
PS3, Line 220: tmp=old_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/336550c9_574e57ee
PS3, Line 221: old_path_metrics=new_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0c50b6fa_9398f137
PS3, Line 222: new_path_metrics=tmp;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/76c5c77c_f4991c27
PS3, Line 223:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/77b57c56_35ce06f2
PS3, Line 224: sample_nr++;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f59dba88_887e58e8
PS3, Line 225: if(sample_nr==samples_num)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/53aed782_f5efdffb
PS3, Line 226: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0663ac0b_4d90b4ad
PS3, Line 227:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2c906a44_830a7460
PS3, Line 228: //Processing real states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/732dc9d5_2f4e3ed7
PS3, Line 229: real_imag=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d36e66e0_7f763999
PS3, Line 230: input_symbol_real = input[sample_nr].real();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/86b086d1_3986d4a2
PS3, Line 231:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eb368c56_9fdc0705
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/baf05db3_23504aca
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fc1ddb56_8f6eba5c
PS3, Line 234: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/51cf072d_b3a6a235
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e577bef3_a148053a
PS3, Line 236: trans_table[sample_nr][0] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b4635384_3404f5fb
PS3, Line 237:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/36a3008d_bc5cbc4a
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/549e11c1_6788ecda
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6d0d94fc_b5e5f926
PS3, Line 240: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/10b29c92_6da8448e
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ce6799e3_57fa261f
PS3, Line 242: trans_table[sample_nr][1] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ece16d79_7d82e8b1
PS3, Line 243:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/49ee34d1_edf100e9
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/07daf5af_8fac2e0e
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/67824a8c_7f279cbf
PS3, Line 246: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a0c5676e_c9c24fb7
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6a648afa_36801fbf
PS3, Line 248: trans_table[sample_nr][2] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/373948e8_ce3ed160
PS3, Line 249:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fa825e60_d6c0a83d
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/60ba6804_ddfed697
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6bd351f1_b0b676dc
PS3, Line 252: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8d7c412b_988dc9a3
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5d7c4a7f_b495b96f
PS3, Line 254: trans_table[sample_nr][3] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7eea70cc_131e20e7
PS3, Line 255:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8fbad9d0_c86b9fbc
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/120ba21e_5fa58231
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/92e32d82_4317a3d9
PS3, Line 258: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3f4659e9_a8220020
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f159f9b7_7480d105
PS3, Line 260: trans_table[sample_nr][4] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c9b188ed_cf4d25ec
PS3, Line 261:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/53041bdc_943191d5
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/632ae331_ee140193
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ebf39766_62a368ba
PS3, Line 264: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b59ea5ad_64a0f64b
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2a35bc6e_8128a11c
PS3, Line 266: trans_table[sample_nr][5] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ea8b9109_32040f19
PS3, Line 267:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fbd43fb4_0082f8fa
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e0ebf34b_4ce184db
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/729ce444_7afe1b32
PS3, Line 270: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e18bbe42_eb501fd8
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/13f62ba5_e4543f8c
PS3, Line 272: trans_table[sample_nr][6] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f9644353_27b222ae
PS3, Line 273:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e1bca687_6931c202
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/18c0860a_06d40400
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8743d354_90843fab
PS3, Line 276: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a9216c4d_29b38a22
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/557f3250_4088736a
PS3, Line 278: trans_table[sample_nr][7] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c614481f_41c62849
PS3, Line 279:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b4665523_5590cd37
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/56b1f4ab_4db8d722
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/603c7741_7358cd7c
PS3, Line 282: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5534e58b_a7df7347
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/96691c26_d298451d
PS3, Line 284: trans_table[sample_nr][8] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9b599396_171c75ff
PS3, Line 285:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fa757329_16aec5fc
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b7e2adb8_1ffe1854
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/af79d5d4_fb2ba33b
PS3, Line 288: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cb7eb0ed_ed483293
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/84a48369_0d0afdea
PS3, Line 290: trans_table[sample_nr][9] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/31a2aab8_a078a1fb
PS3, Line 291:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/14906a8f_29f49fea
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0a149568_c03f0552
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/11ddc67c_212b54bb
PS3, Line 294: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5880a414_edfc3db4
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b9bb4f5f_f68977c6
PS3, Line 296: trans_table[sample_nr][10] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ac179ff0_9b3f9d05
PS3, Line 297:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/be6e3fdc_ca0f2334
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/50dbea7e_a9336983
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f5081c64_4d70f3c0
PS3, Line 300: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2e801172_7faa1732
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5fb9e3ff_22fb38eb
PS3, Line 302: trans_table[sample_nr][11] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f64ecdf6_32dc1ba1
PS3, Line 303:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ab9e6a11_a59628a4
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1d534b72_419a48f5
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7fa34097_d4d5bdc9
PS3, Line 306: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9f6c781b_c6063e3a
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/89235038_d5253fd9
PS3, Line 308: trans_table[sample_nr][12] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/54eeb9a3_1be770f7
PS3, Line 309:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ab8e6db6_4bea36d3
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/571b8dc6_2a5505b6
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5bee35ab_06468128
PS3, Line 312: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e41bff4b_d831c519
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/10337df5_4a5d0af5
PS3, Line 314: trans_table[sample_nr][13] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4e8878af_0d9a6bcd
PS3, Line 315:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cadc9c1c_99ab122f
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/acd045f0_c0878f90
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ba9dc47e_cdebd354
PS3, Line 318: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1d105989_2a784156
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2138f895_2b3df372
PS3, Line 320: trans_table[sample_nr][14] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0f81fd16_9805e31b
PS3, Line 321:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8a27ecae_eb282711
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2c2e0de6_63fd6e43
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ab280d1e_4d3e3449
PS3, Line 324: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a82f3da6_e2e5ffcc
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6e6dcd0e_1ae9ba18
PS3, Line 326: trans_table[sample_nr][15] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c5d8f9cb_437b60e1
PS3, Line 327:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9d5f4329_aff693f0
PS3, Line 328: tmp=old_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0e8f603f_780eccf9
PS3, Line 329: old_path_metrics=new_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/00cc33bb_ab7a0dea
PS3, Line 330: new_path_metrics=tmp;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9e48581b_372a665f
PS3, Line 331:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/deb31669_9d7d288a
PS3, Line 332: sample_nr++;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d236a6f1_8513e8c9
PS3, Line 333: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c71fe23c_49cf8d72
PS3, Line 334:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b56788f7_74f7a20c
PS3, Line 335: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b2c9f34c_13721c0e
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4adf201e_437c17b4
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/55959ff0_2b0d4878
PS3, Line 338: * a subset of them.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/59251b65_7a950f95
PS3, Line 339: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/42d45cac_3a02d940
PS3, Line 340: unsigned int best_stop_state;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/df58f169_8e537b44
PS3, Line 341: float stop_state_metric, max_stop_state_metric;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/39fa6461_571f0df1
PS3, Line 342: best_stop_state = stop_states[0];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2637384f_b88fa737
PS3, Line 343: max_stop_state_metric = old_path_metrics[best_stop_state];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6e44dc7f_d15ea49c
PS3, Line 344: for(i=1; i< stops_num; i++){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f410b162_ea6bf02a
PS3, Line 345: stop_state_metric = old_path_metrics[stop_states[i]];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9c6b7f82_837fba9a
PS3, Line 346: if(stop_state_metric > max_stop_state_metric){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/650f3404_cb697fd9
PS3, Line 347: max_stop_state_metric = stop_state_metric;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2a7e0795_d3eb6d80
PS3, Line 348: best_stop_state = stop_states[i];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4087ba22_28e15eed
PS3, Line 349: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dc3d5db0_06b5fea3
PS3, Line 350: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c9351193_b17e8c81
PS3, Line 351:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/06e00f29_b625a7fa
PS3, Line 352: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c0130938_98d6dadb
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a8ce55d5_fc1c1c56
PS3, Line 354: * traceback stage.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2228e9b7_eff70101
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/364a18d5_6ecc68db
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/43705703_edfb37bd
PS3, Line 357: * to a received bit.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4615a822_948a0d50
PS3, Line 358: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5efbdb2a_94633238
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/35ca2287_194cfe9d
PS3, Line 360:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5a2a588e_1199dc17
PS3, Line 361: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7ed223e2_909cbc97
PS3, Line 362: * Table of previous states in the trellis diagram.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7ffcc0f5_3215365c
PS3, Line 363: * For GMSK modulation every state has two previous states.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1b5b2648_c3a433f0
PS3, Line 364: * Example:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/632b4934_99031061
PS3, Line 365: * previous_state_nr1 = prev_table[current_state_nr][0]
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5e93efe4_ab565f38
PS3, Line 366: * previous_state_nr2 = prev_table[current_state_nr][1]
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/29d7ab08_19ce5d02
PS3, Line 367: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6fc3d6f3_51dc366a
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7e5480bc_e6335afb
PS3, Line 369:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e197afb8_30cd5442
PS3, Line 370: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bcc5007b_5ed1410f
PS3, Line 371: * Traceback and differential decoding of received sequence.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a749c456_7e83d250
PS3, 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-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4ce750bc_29197da4
PS3, Line 373: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/04c5e092_39d30ba3
PS3, Line 374: sample_nr=samples_num;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8b08de8f_17768a3d
PS3, Line 375: unsigned int state_nr=best_stop_state;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/026809d8_c1b5f5d6
PS3, Line 376: unsigned int decision;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b81ce8ee_80da897a
PS3, Line 377: bool out_bit=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aaa52a6a_443a7117
PS3, Line 378:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8af65257_1c40192e
PS3, Line 379: while(sample_nr>0){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ddbdf480_dbe9a425
PS3, Line 380: sample_nr--;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b27c3c7f_f0ce26a4
PS3, Line 381: decision = (trans_table[sample_nr][state_nr]>0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/453b0364_4567f4b1
PS3, Line 382:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6f8cb40d_2b2e1fbb
PS3, Line 383: if(decision != out_bit)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ec903891_f1c01f50
PS3, Line 384: output[sample_nr]=-trans_table[sample_nr][state_nr];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cbe7b60c_7123392b
PS3, Line 385: else
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/781b00e1_13ff0ebf
PS3, Line 386: output[sample_nr]=trans_table[sample_nr][state_nr];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/846d603b_45c4bca6
PS3, Line 387:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0b3f08d3_c542f812
PS3, Line 388: out_bit = out_bit ^ real_imag ^ parity_table[state_nr];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d4be30d7_5e5460d5
PS3, Line 389: state_nr = prev_table[state_nr][decision];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1104a687_48f95208
PS3, Line 390: real_imag = !real_imag;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0fb630d1_a9a37cb2
PS3, Line 391: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1518):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2d47f90a_ca0d48be
PS3, 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: 3
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 01 Dec 2022 14:39:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment