Attention is currently required from: Hoernchen.
946 comments:
File Transceiver52M/grgsm_vitac/constants.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 1: #pragma once
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 2: /* -*- c++ -*- */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 4: * @file
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 5: * @author (C) 2009-2017 by Piotr Krysik <ptrkrysik@gmail.com>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 6: * @section LICENSE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 10: * the Free Software Foundation; either version 3, or (at your option)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 11: * any later version.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 16: * GNU General Public License for more details.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 20: * the Free Software Foundation, Inc., 51 Franklin Street,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 21: * Boston, MA 02110-1301, USA.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 24: #include <complex>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 26: #define gr_complex std::complex<float>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 26: #define gr_complex std::complex<float>
spaces required around that '<' (ctx:VxV)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 26: #define gr_complex std::complex<float>
spaces required around that '>' (ctx:VxW)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 29: #define GSM_SYMBOL_RATE (1625000.0/6.0) //symbols per second
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 32: //Burst timing
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 33: #define TAIL_BITS 3
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 34: #define GUARD_BITS 8
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 35: #define GUARD_FRACTIONAL 0.25 //fractional part of guard period
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 36: #define GUARD_PERIOD GUARD_BITS + GUARD_FRACTIONAL
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 38: #define STEALING_BIT 1
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 39: #define N_TRAIN_BITS 26
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 40: #define N_SYNC_BITS 64
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 42: #define FCCH_BITS USEFUL_BITS
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 43: #define BURST_SIZE (USEFUL_BITS+2*TAIL_BITS)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 44: #define ACCESS_BURST_SIZE 88
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 45: #define PROCESSED_CHUNK BURST_SIZE+2*GUARD_PERIOD
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 47: #define SCH_DATA_LEN 39
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 49: #define TS_PER_FRAME 8
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 51: #define FCCH_POS TAIL_BITS
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 52: #define SYNC_POS (TAIL_BITS + 39)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 54: //aren't used for channel impulse response estimation
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 55: #define TRAIN_BEGINNING 5
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 56: #define SAFETY_MARGIN 6 //
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 58: #define FCCH_HITS_NEEDED (USEFUL_BITS - 4)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 59: #define FCCH_MAX_MISSES 1
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 60: #define FCCH_MAX_FREQ_OFFSET 100
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 62: #define CHAN_IMP_RESP_LENGTH 5
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 67: typedef enum { unknown, multiframe_26, multiframe_51 } multiframe_type;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 69: static const unsigned char SYNC_BITS[] = {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 76: const unsigned FCCH_FRAMES[] = { 0, 10, 20, 30, 40 };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 77: const unsigned SCH_FRAMES[] = { 1, 11, 21, 31, 41 };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 80: //!!channels so this will be removed from this header
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 86: #define TSC0 0
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 87: #define TSC1 1
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 88: #define TSC2 2
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 89: #define TSC3 3
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 90: #define TSC4 4
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 91: #define TSC5 5
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 92: #define TSC6 6
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 93: #define TSC7 7
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 94: #define TS_DUMMY 8
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 96: #define TRAIN_SEQ_NUM 9
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 98: #define TIMESLOT0 0
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 99: #define TIMESLOT1 1
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 100: #define TIMESLOT2 2
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 101: #define TIMESLOT3 3
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 102: #define TIMESLOT4 4
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 103: #define TIMESLOT5 5
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 104: #define TIMESLOT6 6
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 105: #define TIMESLOT7 7
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 122: static const unsigned char dummy_burst[] = {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 123: 0, 0, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 123: 0, 0, 0,
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 124: 1, 1, 1, 1, 1, 0, 1, 1, 0, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 125: 1, 1, 0, 1, 1, 0, 0, 0, 0, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 126: 1, 0, 1, 0, 0, 1, 0, 0, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 127: 1, 0, 0, 0, 0, 0, 1, 0, 0, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 128: 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 129: 0, 1, 1, 1, 1, 1, 0, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 131: 0, 1, 1, 1, 0, 0, 0, 1, 0, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 132: 1, 1, 0, 0, 0, 1, 0, 1, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 133: 0, 0, 0, 1, 0, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 135: 0, 1, 1, 1, 0, 1, 0, 0, 1, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 136: 1, 0, 0, 0, 1, 1, 0, 0, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 137: 0, 0, 1, 1, 1, 0, 0, 1, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 138: 1, 0, 1, 0, 0, 1, 1, 1, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 139: 0, 0, 0, 1, 0, 0, 1, 0, 1, 1,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 140: 1, 1, 1, 0, 1, 0, 1, 0,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 141: 0, 0, 0
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 141: 0, 0, 0
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
File Transceiver52M/grgsm_vitac/grgsm_vitac.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 38: void initvita();
Bad function definition - void initvita() should probably be void initvita(void)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 59: std::string fpath;
labels should not be indented
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 60: std::vector<gr_complex> data;
spaces required around that '<' (ctx:VxV)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 60: std::vector<gr_complex> data;
spaces required around that '>' (ctx:VxW)
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 60: std::vector<gr_complex> data;
labels should not be indented
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
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-1511):
Patch Set #2, Line 1: /* -*- c++ -*- */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 3: * @file
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 4: * @author (C) 2009-2017 by Piotr Krysik <ptrkrysik@gmail.com>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 5: * @author Contributions by sysmocom - s.f.m.c. GmbH / Eric Wild <ewild@sysmocom.de>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 6: * @section LICENSE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 10: * the Free Software Foundation; either version 3, or (at your option)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 11: * any later version.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 16: * GNU General Public License for more details.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 20: * the Free Software Foundation, Inc., 51 Franklin Street,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 21: * Boston, MA 02110-1301, USA.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 24: #include "constants.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 26: #ifdef HAVE_CONFIG_H
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 27: #include "config.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 28: #endif
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 29: #include <complex>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 32: #include <algorithm>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 33: #include <string.h>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 34: #include <iostream>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 35: #include <numeric>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 36: #include <vector>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 37: #include <fstream>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 39: #include "viterbi_detector.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 40: #include "grgsm_vitac.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 42: //signalVector mChanResp;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 45: const int d_chan_imp_length = CHAN_IMP_RESP_LENGTH;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 47: void initvita() {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 50: * Prepare SCH sequence bits
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 52: * (TS_BITS + 2 * GUARD_PERIOD)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 53: * Burst and two guard periods
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 54: * (one guard period is an arbitrary overlap)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 56: gmsk_mapper(SYNC_BITS, N_SYNC_BITS,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 57: d_sch_training_seq, gr_complex(0.0, -1.0));
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 58: for (auto &i : d_sch_training_seq)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 59: i = conj(i);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 61: /* Prepare bits of training sequences */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 62: for (int i = 0; i < TRAIN_SEQ_NUM; i++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 64: * If first bit of the sequence is 0
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 65: * => first symbol is 1, else -1
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 67: gr_complex startpoint = train_seq[i][0] == 0 ?
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 69: gmsk_mapper(train_seq[i], N_TRAIN_BITS,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 70: d_norm_training_seq[i], startpoint);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 71: for (auto &i : d_norm_training_seq[i])
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 72: i = conj(i);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 77: MULTI_VER_TARGET_ATTR
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 81: unsigned int stop_states[2] = { 4, 12 };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 82: gr_complex filtered_burst[BURST_SIZE];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 83: gr_complex rhh[CHAN_IMP_RESP_LENGTH];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 84: float output[BURST_SIZE];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 85: int start_state = 3;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 87: // if(burst_start < 0 ||burst_start > 10)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 88: // fprintf(stderr, "bo %d\n", burst_start);
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 90: // burst_start = burst_start >= 0 ? burst_start : 0;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 93: for (int ii = 0; ii < d_chan_imp_length; ii++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 94: rhh[ii] = conj(rhh_temp[ii * d_OSR]);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 96: mafi(&input[burst_start], BURST_SIZE, chan_imp_resp,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 97: d_chan_imp_length * d_OSR, filtered_burst);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 99: viterbi_detector(filtered_burst, BURST_SIZE, rhh,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 100: start_state, stop_states, 2, output);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 102: for (int i = 0; i < BURST_SIZE; i++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 103: output_binary[i] = output[i] * -127; // pre flip bits!
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 107: gmsk_mapper(const unsigned char* input,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 108: int nitems, gr_complex* gmsk_output, gr_complex start_point)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 110: gr_complex j = gr_complex(0.0, 1.0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 111: gmsk_output[0] = start_point;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 113: int previous_symbol = 2 * input[0] - 1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 114: int current_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 115: int encoded_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 117: for (int i = 1; i < nitems; i++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 118: /* Change bits representation to NRZ */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 119: current_symbol = 2 * input[i] - 1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 121: /* Differentially encode */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 122: encoded_symbol = current_symbol * previous_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 124: /* And do GMSK mapping */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 125: gmsk_output[i] = j * gr_complex(encoded_symbol, 0.0)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 126: * gmsk_output[i - 1];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 128: previous_symbol = current_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 132: gr_complex
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 133: correlate_sequence(const gr_complex* sequence,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 134: int length, const gr_complex* input)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 136: gr_complex result(0.0, 0.0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 138: for (int ii = 0; ii < length; ii++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 139: result += sequence[ii] * input[ii * d_OSR];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 141: return conj(result) / gr_complex(length, 0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 144: /* Computes autocorrelation for positive arguments */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 145: inline void
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 146: autocorrelation(const gr_complex* input,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 147: gr_complex* out, int nitems)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 149: for (int k = nitems - 1; k >= 0; k--) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 150: out[k] = gr_complex(0, 0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 151: for (int i = k; i < nitems; i++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 152: out[k] += input[i] * conj(input[i - k]);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 156: inline void
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 157: mafi(const gr_complex* input, int nitems,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 158: gr_complex* filter, int filter_length, gr_complex* output)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 160: for (int n = 0; n < nitems; n++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 161: int a = n * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 162: output[n] = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 164: for (int ii = 0; ii < filter_length; ii++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 165: if ((a + ii) >= nitems * d_OSR)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 166: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 168: output[n] += input[a + ii] * filter[ii];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 176: std::vector<gr_complex> correlation_buffer;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 177: std::vector<float> window_energy_buffer;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 178: std::vector<float> power_buffer;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 181: gr_complex correlation = correlate_sequence(tseq, tseqlen, &input[ii]);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 182: correlation_buffer.push_back(correlation);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 183: power_buffer.push_back(std::pow(abs(correlation), 2));
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 188: /* Compute window energies */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 192: auto iter = power_buffer.begin() + window_energy_start_offset;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 193: auto iter_end = power_buffer.begin() + window_energy_end_offset;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 194: while (iter != iter_end) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 195: std::vector<float>::iterator iter_ii = iter;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 196: bool loop_end = false;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 197: float energy = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 199: int len = d_chan_imp_length * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 200: for (int ii = 0; ii < len; ii++, iter_ii++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 201: if (iter_ii == power_buffer.end()) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 202: loop_end = true;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 203: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 206: energy += (*iter_ii);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 209: if (loop_end)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 210: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 212: window_energy_buffer.push_back(energy);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 213: iter++;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 216: /* Calculate the strongest window number */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 217: int strongest_window_nr = window_energy_start_offset +
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 218: max_element(window_energy_buffer.begin(), window_energy_buffer.end()) -
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 219: window_energy_buffer.begin();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 225: // /* Calculate the strongest window number */
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 228: // if (strongest_window_nr < 0)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 229: // strongest_window_nr = 0;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 231: float max_correlation = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 233: gr_complex correlation = correlation_buffer[strongest_window_nr + ii];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 234: if (abs(correlation) > max_correlation)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 235: max_correlation = abs(correlation);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 236: chan_imp_resp[ii] = correlation;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 239: *corr_max = max_correlation;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 242: * Compute first sample position, which corresponds
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 243: * to the first sample of the impulse response
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 250: 3 + 57 + 1 + 26 + 1 + 57 + 3 + 8.25
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 253: this is +-5 samples around (+5 beginning) of truncated t16 tsc
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 258: const int search_center = TRAIN_POS;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 261: const auto tseq = &d_norm_training_seq[bcc][TRAIN_BEGINNING];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 262: const auto tseqlen = N_TRAIN_BITS - (2 * TRAIN_BEGINNING);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 264: corr_max);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 270: start 3+39 - 10
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 271: end 3+39 + SYNC_SEARCH_RANGE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 276: const int search_center = SYNC_POS + TRAIN_BEGINNING;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 277: const int search_start_pos = (search_center - 10) * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 279: const auto tseq = &d_sch_training_seq[TRAIN_BEGINNING];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 280: const auto tseqlen = N_SYNC_BITS - (2 * TRAIN_BEGINNING);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 283: float corr_max;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 285: &corr_max);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 290: const auto tseqlen = N_SYNC_BITS - (2 * TRAIN_BEGINNING);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 291: const int search_center = SYNC_POS + TRAIN_BEGINNING;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 292: const int search_start_pos = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 293: // FIXME: proper end offset
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 294: const int search_stop_pos = len - (N_SYNC_BITS*8);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 295: auto tseq = &d_sch_training_seq[TRAIN_BEGINNING];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 298: corr_max);
DOS line endings
File Transceiver52M/grgsm_vitac/viterbi_detector.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 1: /* -*- c++ -*- */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 3: * @file
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 4: * @author (C) 2009 Piotr Krysik <ptrkrysik@gmail.com>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 5: * @section LICENSE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 9: * the Free Software Foundation; either version 3, or (at your option)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 10: * any later version.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 15: * GNU General Public License for more details.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 19: * the Free Software Foundation, Inc., 51 Franklin Street,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 20: * Boston, MA 02110-1301, USA.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 24: * viterbi_detector:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 25: * This part does the detection of received sequnece.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 26: * Employed algorithm is viterbi Maximum Likehood Sequence Estimation.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 27: * At this moment it gives hard decisions on the output, but
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 28: * it was designed with soft decisions in mind.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 30: * SYNTAX: void viterbi_detector(
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 31: * const gr_complex * input,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 32: * unsigned int samples_num,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 33: * gr_complex * rhh,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 34: * unsigned int start_state,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 35: * const unsigned int * stop_states,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 36: * unsigned int stops_num,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 37: * float * output)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 39: * INPUT: input: Complex received signal afted matched filtering.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 40: * samples_num: Number of samples in the input table.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 41: * rhh: The autocorrelation of the estimated channel
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 42: * impulse response.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 43: * start_state: Number of the start point. In GSM each burst
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 44: * starts with sequence of three bits (0,0,0) which
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 45: * indicates start point of the algorithm.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 46: * stop_states: Table with numbers of possible stop states.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 47: * stops_num: Number of possible stop states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 50: * OUTPUT: output: Differentially decoded hard output of the algorithm:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 51: * -1 for logical "0" and 1 for logical "1"
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 53: * SUB_FUNC: none
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 55: * TEST(S): Tested with real world normal burst.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 58: #ifndef INCLUDED_VITERBI_DETECTOR_H
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 59: #define INCLUDED_VITERBI_DETECTOR_H
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 60: #include "constants.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 1: /* -*- c++ -*- */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 3: * @file
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 4: * @author (C) 2009 by Piotr Krysik <ptrkrysik@gmail.com>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 5: * @section LICENSE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 9: * the Free Software Foundation; either version 3, or (at your option)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 10: * any later version.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 15: * GNU General Public License for more details.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 19: * the Free Software Foundation, Inc., 51 Franklin Street,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 20: * Boston, MA 02110-1301, USA.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 24: * viterbi_detector:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 25: * This part does the detection of received sequnece.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 26: * Employed algorithm is viterbi Maximum Likehood Sequence Estimation.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 27: * At this moment it gives hard decisions on the output, but
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 28: * it was designed with soft decisions in mind.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 30: * SYNTAX: void viterbi_detector(
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 31: * const gr_complex * input,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 32: * unsigned int samples_num,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 33: * gr_complex * rhh,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 34: * unsigned int start_state,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 35: * const unsigned int * stop_states,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 36: * unsigned int stops_num,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 37: * float * output)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 39: * INPUT: input: Complex received signal afted matched filtering.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 40: * samples_num: Number of samples in the input table.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 41: * rhh: The autocorrelation of the estimated channel
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 42: * impulse response.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 43: * start_state: Number of the start point. In GSM each burst
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 44: * starts with sequence of three bits (0,0,0) which
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 45: * indicates start point of the algorithm.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 46: * stop_states: Table with numbers of possible stop states.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 47: * stops_num: Number of possible stop states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 50: * OUTPUT: output: Differentially decoded hard output of the algorithm:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 51: * -1 for logical "0" and 1 for logical "1"
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 53: * SUB_FUNC: none
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 55: * TEST(S): Tested with real world normal burst.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 58: #include "constants.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 59: #include <cmath>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 61: #define PATHS_NUM (1 << (CHAN_IMP_RESP_LENGTH-1))
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 65: float increment[8];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 66: float path_metrics1[16];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 67: float path_metrics2[16];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 68: float paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 69: float * new_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 70: float * old_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 71: float * tmp;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 72: float trans_table[BURST_SIZE][16];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 73: float pm_candidate1, pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 74: bool real_imag;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 75: float input_symbol_real, input_symbol_imag;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 76: unsigned int i, sample_nr;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 81: * which makes them practically impossible to occur.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 83: for(i=0; i<PATHS_NUM; i++){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 84: path_metrics1[i]=(-10e30);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 86: path_metrics1[start_state]=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 90: * Increment is table of reference levels for computation of branch metrics:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 91: * branch metric = (+/-)received_sample (+/-) reference_level
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 104: * Computation of path metrics and decisions (Add-Compare-Select).
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 106: * and one for even samples (real numbers).
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 107: * Each part is composed of independent (parallelisable) statements like
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 108: * this one:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 109: * pm_candidate1 = old_path_metrics[0] -input_symbol_imag +increment[2];
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 110: * pm_candidate2 = old_path_metrics[8] -input_symbol_imag -increment[5];
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 111: * paths_difference=pm_candidate2-pm_candidate1;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 112: * new_path_metrics[1]=(paths_difference<0) ? pm_candidate1 : pm_candidate2;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 113: * trans_table[sample_nr][1] = paths_difference;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 115: * consuming part of this function.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 117: sample_nr=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 118: old_path_metrics=path_metrics1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 119: new_path_metrics=path_metrics2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 120: while(sample_nr<samples_num){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 121: //Processing imag states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 122: real_imag=1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 123: input_symbol_imag = input[sample_nr].imag();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 127: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 129: trans_table[sample_nr][0] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 133: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 135: trans_table[sample_nr][1] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 139: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 141: trans_table[sample_nr][2] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 145: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 147: trans_table[sample_nr][3] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 151: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 153: trans_table[sample_nr][4] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 157: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 159: trans_table[sample_nr][5] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 163: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 165: trans_table[sample_nr][6] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 169: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 171: trans_table[sample_nr][7] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 175: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 177: trans_table[sample_nr][8] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 181: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 183: trans_table[sample_nr][9] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 187: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 189: trans_table[sample_nr][10] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 193: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 195: trans_table[sample_nr][11] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 199: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 201: trans_table[sample_nr][12] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 205: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 207: trans_table[sample_nr][13] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 211: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 213: trans_table[sample_nr][14] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 217: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 219: trans_table[sample_nr][15] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 220: tmp=old_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 221: old_path_metrics=new_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 222: new_path_metrics=tmp;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 224: sample_nr++;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 225: if(sample_nr==samples_num)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 226: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 228: //Processing real states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 229: real_imag=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 230: input_symbol_real = input[sample_nr].real();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 234: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 236: trans_table[sample_nr][0] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 240: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 242: trans_table[sample_nr][1] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 246: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 248: trans_table[sample_nr][2] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 252: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 254: trans_table[sample_nr][3] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 258: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 260: trans_table[sample_nr][4] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 264: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 266: trans_table[sample_nr][5] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 270: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 272: trans_table[sample_nr][6] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 276: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 278: trans_table[sample_nr][7] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 282: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 284: trans_table[sample_nr][8] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 288: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 290: trans_table[sample_nr][9] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 294: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 296: trans_table[sample_nr][10] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 300: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 302: trans_table[sample_nr][11] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 306: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 308: trans_table[sample_nr][12] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 312: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 314: trans_table[sample_nr][13] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 318: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 320: trans_table[sample_nr][14] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 324: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 326: trans_table[sample_nr][15] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 328: tmp=old_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 329: old_path_metrics=new_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 330: new_path_metrics=tmp;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 332: sample_nr++;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 338: * a subset of them.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 340: unsigned int best_stop_state;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 341: float stop_state_metric, max_stop_state_metric;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 342: best_stop_state = stop_states[0];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 343: max_stop_state_metric = old_path_metrics[best_stop_state];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 344: for(i=1; i< stops_num; i++){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 345: stop_state_metric = old_path_metrics[stop_states[i]];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 346: if(stop_state_metric > max_stop_state_metric){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 347: max_stop_state_metric = stop_state_metric;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 348: best_stop_state = stop_states[i];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 354: * traceback stage.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
Patch Set #2, 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-1511):
Patch Set #2, Line 357: * to a received bit.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 362: * Table of previous states in the trellis diagram.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 363: * For GMSK modulation every state has two previous states.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 364: * Example:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 365: * previous_state_nr1 = prev_table[current_state_nr][0]
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 366: * previous_state_nr2 = prev_table[current_state_nr][1]
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 371: * Traceback and differential decoding of received sequence.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, 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-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 374: sample_nr=samples_num;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 375: unsigned int state_nr=best_stop_state;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 376: unsigned int decision;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 377: bool out_bit=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 379: while(sample_nr>0){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 380: sample_nr--;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 381: decision = (trans_table[sample_nr][state_nr]>0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 383: if(decision != out_bit)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 384: output[sample_nr]=-trans_table[sample_nr][state_nr];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 386: output[sample_nr]=trans_table[sample_nr][state_nr];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 388: out_bit = out_bit ^ real_imag ^ parity_table[state_nr];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 389: state_nr = prev_table[state_nr][decision];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
Patch Set #2, Line 390: real_imag = !real_imag;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1511):
DOS line endings
To view, visit change 30415. To unsubscribe, or for help writing mail filters, visit settings.