Commit Graph

925 Commits

Author SHA1 Message Date
Pedro Alvarez c8dafa5410 Merging next into guti attach branch 2018-03-20 17:33:59 +00:00
Ismael Gomez 28e12dbf7d Merge branch 'next' into sync_states 2018-03-20 14:36:31 +01:00
Paul Sutton daf0a11345 Fix for RRC Connection Reject wait time pack/unpack 2018-03-20 12:47:00 +00:00
Andre Puschmann c5b423ffee fix subheader parsing 2018-03-19 14:38:27 +01:00
Ismael Gomez f88f465c97 Refactored NAS/RRC/PHY cell_search/selection procedures 2018-03-19 14:14:51 +01:00
Ismael Gomez ef7b52045e Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-03-18 13:24:20 +01:00
Ismael Gomez 682ed433b2 Possible fix to #167 2018-03-18 13:24:09 +01:00
Ismael Gomez 2047f9b9fc Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-03-16 11:23:46 +01:00
Ismael Gomez 321a750f56 Added features to ringbuffer 2018-03-16 11:23:37 +01:00
Ismael Gomez 622b3221d7 Don't restart RX stream when setting RX srate (causes UHD corruption in MIMO) 2018-03-15 18:37:16 +01:00
Ismael Gomez f470645e90 Fix for real issue #164 2018-03-15 10:56:46 +01:00
Ismael Gomez 599cf9bc07 Resolved conflicting commits d66a455479 and c850e2f87a 2018-03-15 10:56:18 +01:00
Andre Puschmann d66a455479 add check for invalid nof subheaders in MAC PDU 2018-03-15 09:33:31 +01:00
Ismael Gomez c850e2f87a Added check for issue #165 2018-03-14 23:08:51 +01:00
Ismael Gomez bd258372ea Fixes #164 2018-03-14 23:08:36 +01:00
Ismael Gomez c0aea5ae13 Neighbour cell RSRP measurement always and only with correlation method 2018-03-14 10:23:41 +01:00
Ismael Gomez 809c550ca2 Use RS power estimation for serving cell RSRP/SNR measurements. Use correlation of RS sequences for neighbour cell verification of Cell ID 2018-03-13 19:07:15 +01:00
Ismael Gomez c2098ad626 Removed unused sample offset correction 2018-03-13 18:52:21 +01:00
Andre Puschmann 44b1748a87 fix mem leak in sync 2018-03-08 22:04:58 +01:00
Andre Puschmann 938e56fa2c streamline log output in RLC AM/UM 2018-03-08 11:41:21 +01:00
Andre Puschmann 7acc021a4e fix mem leak in pmch_test 2018-03-07 21:23:57 +01:00
Andre Puschmann 57e0c01fc4 check max buffer length in hex print 2018-03-07 21:23:57 +01:00
Ismael Gomez 3adc6b5cbc
Merge pull request #158 from softwareradiosystems/csi
Csi
2018-03-07 14:40:57 +01:00
Andre Puschmann ac0f934558 fix leaks in viterbi and modem tests 2018-03-06 22:33:57 +01:00
Andre Puschmann c6933f5338 fix leak in turbocoder test 2018-03-06 21:48:44 +01:00
Andre Puschmann 4c76e98f9e fix memleak in DL chest object 2018-03-06 21:35:55 +01:00
Andre Puschmann cae09a8d58 fix mem leak in PMCH 2018-03-06 21:35:15 +01:00
Andre Puschmann e933f05933 fix memleak in vector test../lib/src/phy/utils/test/vector_test.c 2018-03-06 21:34:36 +01:00
Pedro Alvarez 5488609096 Resolving conflicts from merging next. Adding the functionality of echoing the attach type. 2018-03-06 16:54:32 +00:00
Xavier Arteaga 962164277a Normalize CSI to maximum. 2018-03-06 17:09:59 +01:00
Francisco Paisana cd0373c533 opt assignment was being erased by bzero call 2018-03-06 15:19:47 +00:00
Andre Puschmann 4575a9e610 add further checks for pool allocate return in srsENB and RLC UM/TM 2018-03-06 15:20:23 +01:00
Andre Puschmann 77c8bf08cf remove newlines 2018-03-06 14:04:17 +01:00
Andre Puschmann add125a01f check expiration of poll_retx_timer and schedule retx if needed 2018-03-06 14:04:17 +01:00
Pedro Alvarez 406a1d01b6 Merge branch 'next' into guti_attach 2018-03-06 12:39:57 +00:00
Ismael Gomez fce672954e Minor edit to SNR-to-CQI table 2018-03-06 13:37:20 +01:00
Ismael Gomez 390a463d9f Check for PDU allocation and add warnings 2018-03-06 12:41:44 +01:00
Ismael Gomez 5f0bd0e74b Add mutex to libfftw mkplan/destroyplan functions 2018-03-05 17:18:51 +01:00
Ismael Gomez 09594d8058 Restart RX stream on srate change 2018-03-05 16:18:40 +01:00
Ismael Gomez 8591049e92 Added mutex to ul/dl harq reset 2018-03-05 14:33:51 +01:00
Ismael Gomez 73602a8558 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-03-05 13:07:34 +01:00
Ismael Gomez 90553e830d Fixed cell search for non-home PLMN 2018-03-05 13:07:24 +01:00
Andre Puschmann c198547728 add new RF RX error type and make the UHD driver issue that if anything unexpected happens 2018-03-04 21:53:06 +01:00
Andre Puschmann 5cfffd11e1 Revert "only reset SDU buffer in RLC AM/UM"
This reverts commit 8d852ddfe5.

This commit was needed because the order in which objects
where destructed on UE exit was such that the byte_buffer was deleted
before RLC_AM dtor was called.
2018-03-04 21:53:06 +01:00
Andre Puschmann 20e6ed102e fix when accessing uninitialized file 2018-03-04 21:53:06 +01:00
Andre Puschmann 281611b26a allow n param in pss_usrp test 2018-03-04 21:53:06 +01:00
Andre Puschmann 57bb831f27 fix RM turbo test 2018-03-04 21:53:06 +01:00
Andre Puschmann 1efcea7e47 call dft_exit in various tests 2018-03-04 21:53:06 +01:00
Andre Puschmann 4a27915022 bzero dft object during init, add call to fftw_cleanup in dft_exit 2018-03-04 21:53:06 +01:00
Andre Puschmann f60a9eab41 initialize RF UHD handler in init 2018-03-04 21:53:06 +01:00
Andre Puschmann 2c85da3e4b initilize variable in log_filter 2018-03-04 21:53:06 +01:00
Ismael Gomez ed52604d30 Restart rx_stream on radio error 2018-03-04 21:51:14 +01:00
Ismael Gomez fea5c3462c Start RX with delay 2018-03-04 11:15:51 +01:00
Ismael Gomez fd0c8168f0 Set to Continuous RX and TX 2018-03-02 20:59:17 +01:00
Xavier Arteaga 2a69211f32 SCH does not terminate all codeblocks if one fail. Also, SCH does not decode blocks with CRC=OK 2018-03-01 14:01:36 +01:00
yagoda fafed4a4a0 small fix in mbsfn ofdm 2018-02-28 17:58:47 +00:00
Xavier Arteaga 6fc9c96c58 Added CSI softbits weightening for Single antenna transmission 2018-02-28 12:07:31 +01:00
Pedro Alvarez 669ef9816f Added packing of TMSI to mobile station identity IE. 2018-02-26 10:39:40 +00:00
Ismael Gomez 65aa5abb30 Restored RSRP calculation changed in commit 3f002aca85 2018-02-25 20:53:18 +01:00
Ismael Gomez 5251cb3671 Stop RX stream when cell not found during initial cell search 2018-02-22 12:14:11 +01:00
Ismael Gomez f49d399a1e Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-02-21 18:16:38 +01:00
Xavier Arteaga 2c8467780d UE stores last PMI and last RI in common phy 2018-02-21 16:15:51 +01:00
Ismael Gomez 7c276318b2 Merge branch 'next' into raa 2018-02-21 14:53:54 +01:00
Xavier Arteaga 4df6227f5b UE stores last PMI and last RI in common phy 2018-02-21 14:51:09 +01:00
Xavier Arteaga ff5ac85c7d Added int16 to float SIMD vector function 2018-02-21 14:51:09 +01:00
Ismael Gomez 09c5ddb730 Merge branch 'next' into raa 2018-02-21 11:53:36 +01:00
Ismael Gomez 9b1c8aa608 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-02-21 11:52:11 +01:00
Ismael Gomez 3a005af9f5 Normalize PUCCH power 2018-02-21 11:51:26 +01:00
Andre Puschmann 8d852ddfe5 only reset SDU buffer in RLC AM/UM 2018-02-20 17:54:09 +01:00
Andre Puschmann 8b9bc15ffc Merge branch 'next' into rlc_fixes 2018-02-20 11:46:53 +01:00
Andre Puschmann d959608e10 fix mem dealloc in viterbi for 16bit AVX 2018-02-20 11:44:46 +01:00
Andre Puschmann 1be93d4682 add RLC UM destructor 2018-02-16 21:32:21 +01:00
Ismael Gomez 88354a1776 Merge branch 'raa' of github.com:softwareradiosystems/srsLTE_raa into raa 2018-02-16 15:27:39 +01:00
Andre Puschmann 75f42ac829 add RLC AM destructor 2018-02-16 12:40:07 +01:00
Paul Sutton b698547247 Fix for first RLC tx after handover 2018-02-15 16:39:56 +00:00
Xavier Arteaga a2129601df Noise level in MIMO is not divided by number of antennas 2018-02-15 03:16:07 +01:00
Xavier Arteaga 898c86d954 Channel estimattor selects the strongest RSRP. 2018-02-14 00:30:37 +01:00
Ismael Gomez 4117119510 Correct a possible sign overflow 2018-02-13 18:17:15 +01:00
Ismael Gomez 70dfa3b2a9 Fixes #6 AGC 2018-02-13 18:15:13 +01:00
Ismael Gomez c78a6e4c0d Changed SSS algorithm 2018-02-13 18:15:00 +01:00
Ismael Gomez ea07f695ad Removed printf 2018-02-13 18:07:50 +01:00
Ismael Gomez a568db3b04 Fixed PRACH HS=TRUE bug and indentation 2018-02-13 18:05:02 +01:00
Ismael Gomez 6f80144fbe Revert "fix mem leak in log_filter"
This reverts commit 4222c6b9a0.
2018-02-12 19:23:57 +01:00
Paul Sutton 81d8e7f70d Fix memory leak 2018-02-12 17:17:27 +00:00
Andre Puschmann 96058f5b15 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-02-12 15:31:39 +01:00
Paul Sutton e18cb5ba5b Fixing RLC AM tests, adding extra check for segment handling 2018-02-12 13:42:59 +00:00
Paul Sutton 4cf79c1ead Initial fix for segment handling in RLC AM 2018-02-12 13:09:31 +00:00
Paul Sutton 59e425608f Better fix for buffer size issue 2018-02-12 12:44:55 +00:00
Andre Puschmann 4222c6b9a0 fix mem leak in log_filter 2018-02-11 16:41:27 +01:00
Andre Puschmann ccfb9314bc fix various coverity bugs 2018-02-11 10:59:56 +01:00
Ismael Gomez 86818ad65f Fix compilations warnings and remove printf debugs 2018-02-09 17:36:44 +01:00
Ismael Gomez b5bda138f3 Merge branch 'next' 2018-02-09 15:37:34 +01:00
Xavier Arteaga 3f002aca85 Corrected energy measurement of the RSRP 2018-02-09 12:14:50 +01:00
Andre Puschmann b3beb58edf Merge branch 'next' into rlc_am_ul_bug 2018-02-09 11:49:06 +01:00
Andre Puschmann ef19b5f051 rlc_am: revert PDU len changes to pass tests again 2018-02-09 11:37:21 +01:00
Andre Puschmann ddfd114865 rlc_am: disable debug prints 2018-02-09 11:36:55 +01:00
Ismael Gomez c429f3031f Proper normalization to noise power estimation in chest_dl 2018-02-08 20:58:43 +01:00
Ismael Gomez ed76d73bbc Print tpc_pucch for format2 dci also 2018-02-08 20:57:36 +01:00
Andre Puschmann bf26934e13 rlc_am: print error but don't exit on buffer allocation errors 2018-02-08 17:50:19 +01:00
Paul Sutton d1d6cea737 Adding debug helpers 2018-02-07 23:13:59 +00:00
Andre Puschmann 0c03b84a29 Revert "rlc_am: request status PDU if tx window is half full"
This reverts commit 897db045bb.
2018-02-07 20:52:26 +01:00
Andre Puschmann bde37de866 rlc_am: fix bug where PDU was erased from tx_window too early 2018-02-07 20:50:03 +01:00
Andre Puschmann bfb3155da6 rlc_am: don't build new PDUs if tx window is full 2018-02-07 20:49:04 +01:00
Andre Puschmann fe069073f0 rlc_am: directly add lower edge of tx window in case of a retx 2018-02-07 20:47:49 +01:00
Xavier Arteaga 0c2f0ac038 Fixed srsue freq_offset compensation for UL 2018-02-07 18:36:06 +01:00
yagoda eb8a884e90 small optimization in neon viterbi 2018-02-07 16:51:23 +00:00
Andre Puschmann 7fde6e4933 rlc_am: fix conditions for resetting re-ordering timer 2018-02-07 16:34:10 +01:00
Andre Puschmann bebf062fee rlc_am: count poll_pdu and poll_byte during retransmission (and segements) 2018-02-07 16:32:15 +01:00
Andre Puschmann 9c3418d010 rlc_am: add extra brackets to macro 2018-02-07 16:29:31 +01:00
Andre Puschmann 705acec6b9 fix uninitialized variables in logger 2018-02-07 14:45:44 +01:00
Andre Puschmann fa7d5bd40e rlc_am: retransmit first outstanding PDU in case the tx_window is full to avoid stalling 2018-02-06 16:59:20 +01:00
Andre Puschmann 8f850754f3 check malloc return value in various tests 2018-02-06 16:42:43 +01:00
Ismael Gomez f17cfa3ac3 Fixed possible mod netgative SR period calculation 2018-02-06 15:37:00 +01:00
Andre Puschmann 897db045bb rlc_am: request status PDU if tx window is half full
The idea behind this condition is to prevent pushing more and
more data PDU on the tx_queue without getting feedback from the
receiver about it's state.
2018-02-06 15:31:09 +01:00
Andre Puschmann d9c5567e55 rlc_am: request status PDU if needed when sending PDU segments 2018-02-06 15:23:36 +01:00
Andre Puschmann afe6219d4b rlc_am: move check for special SO_end field outside of if and adjust length accordingly 2018-02-06 15:20:33 +01:00
Andre Puschmann 4e5f7f6ffa rlc_am: flush retx queue after rx'ing status PDU to avoid unordered SNs 2018-02-05 15:12:16 +01:00
Ismael Gomez c64c618194 Fix typo in previous commit and remove printf 2018-02-03 11:07:21 +01:00
Ismael Gomez 8f2db5feb8 Fix as per psutton review of pull request #147 2018-02-03 11:05:42 +01:00
Ismael Gomez ecefbefca7
Merge pull request #147 from softwareradiosystems/test_rlc_am
Buffer is deallocated for tx_window but tx_window object is not remov…
2018-02-03 11:01:51 +01:00
Ismael Gomez a279ab47f0 Improved neighbour cell accuracy. Changed RRC to avoid segfault when neighbour cell addition 2018-02-02 19:31:22 +01:00
Ismael Gomez 2347fe0e6f Fixed incorrect DCI location bug. Make all calls to regs/pdcch atomic w.r.t. the CFI 2018-02-02 16:27:11 +01:00
Ismael Gomez 5eeaf52990 Check for non-zero payload in log 2018-02-01 20:16:35 +01:00
Ismael Gomez 0d65c48105 When RLC retx queue is empty, do not error and transmit a new tx 2018-02-01 17:17:18 +01:00
Ismael Gomez ffb076b2c5 Buffer is deallocated for tx_window but tx_window object is not removed from map. Next time is accessed buffer is null. 2018-02-01 16:50:04 +01:00
Andre Puschmann dfe430a584 Merge branch 'next' 2018-02-01 16:35:53 +01:00
Andre Puschmann 07cd9ae528 fix coverity issues 2018-02-01 16:34:38 +01:00
Andre Puschmann 8e1aa0edd8 temporary mod to print RLC config in warning mode 2018-02-01 15:44:58 +01:00
Xavier Arteaga 99ef760b6f More Coverity fixes 2018-01-31 16:49:14 +01:00
Andre Puschmann eac2b6e43c Merge branch 'next' 2018-01-31 15:05:47 +01:00
Andre Puschmann 8daa834607 fix ASN1 s1ap code by checking upper bound of buffer 2018-01-31 15:05:17 +01:00
yagoda 42040f7111 fixing conflicts 2018-01-31 12:32:11 +00:00
Andre Puschmann 4fc7dbc340 Merge branch 'next' 2018-01-31 13:30:58 +01:00
yagoda ee1c8c292e fixing coverity issues 2018-01-31 12:28:21 +00:00
Xavier Arteaga 10fc1855d6 Fixed Coverity INFO/DEBUG messages with too many arguments and a few more 2018-01-31 12:43:48 +01:00
Andre Puschmann c011526e38 Merge branch 'next' 2018-01-31 12:36:03 +01:00
Andre Puschmann d500bdbc24 fix more coverity issues 2018-01-31 12:35:46 +01:00
Andre Puschmann fa508f07fa Merge branch 'next' 2018-01-31 12:18:00 +01:00
Andre Puschmann a7ced05be5 fix coverity issue in soapy 2018-01-31 12:16:40 +01:00
Xavier Arteaga 5741ce4c61 Fixed coverity for vector_test.c 2018-01-31 11:55:07 +01:00
Andre Puschmann afcdf21dcc Merge branch 'next' 2018-01-31 11:09:44 +01:00
Andre Puschmann f49c1d8d65 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-01-31 11:00:11 +01:00
Xavier Arteaga c4247c7aca Fix coverity for complex 16bit 2018-01-31 10:44:52 +01:00
Andre Puschmann 02856704c8 more coverity fixes 2018-01-31 10:32:26 +01:00
Xavier Arteaga 0299e9aae1 Fixed Aperiodic reporting RM31 for TM4 (Amarisoft proof) 2018-01-31 10:18:48 +01:00
Andre Puschmann 33bae5898a Merge branch 'next' 2018-01-30 17:33:54 +01:00
Andre Puschmann 8da4373d30 fix various coverity bugs 2018-01-30 17:33:20 +01:00
Andre Puschmann f2ea8222f9 soapy: make timeout a variable 2018-01-30 17:10:10 +01:00
Andre Puschmann 9be16097bf lime: add lo_locked sensor read 2018-01-30 16:59:13 +01:00
Andre Puschmann f3b1fe0f1a update for null-termination of strings fix 2018-01-30 15:19:26 +01:00
Andre Puschmann c8f9a7785a fix null-termination of strings 2018-01-30 14:13:16 +01:00
Xavier Arteaga c386bee399 Fixed PUSCH aperiodic report bug. 2018-01-30 12:52:55 +01:00
Ismael Gomez 71a2ad8ea8 Catches RA PDCCH order in Format1A 2018-01-29 16:33:28 +01:00
Ismael Gomez 8c7e8057f6 Minor printf corrections 2018-01-28 22:27:12 +01:00
Ismael Gomez 464357d88c Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-01-25 15:02:18 +01:00
Ismael Gomez 754566b28f Changed priorities to below UHD in srsUE 2018-01-25 15:02:11 +01:00
Ismael Gomez c0bbf6c5ae Removed PDCP thread 2018-01-25 15:01:57 +01:00
Xavier Arteaga 8800b77ded Enable DCI format 1C (Compact DCI por pagin and SIB) to be decoded by pdsch_ue example 2018-01-25 12:54:27 +01:00
Ismael Gomez 8418c74a2d Fixes RLC small grant issue in eNodeB and non-adaptive retx 2018-01-25 12:51:39 +01:00
Xavier Arteaga d950aa925d Removed SFO compensation in frequency domain. 2018-01-23 13:26:55 +01:00
Andre Puschmann 04dd4ba01b uhd: add e300 default config and fix loop for rx'ing samples 2018-01-22 15:17:42 +01:00
Xavier Arteaga a4c0cda237 Fixed pdsch_ue Rank indicator error messages for 4 antenna port cells 2018-01-22 11:59:10 +01:00
Ismael Gomez 0093928b73 Fixed some warnings in ARM 2018-01-20 12:08:35 +01:00
Xavier Arteaga 0ba58d8d24 Fixed PUSCH retransmissions for non-RRC configured rnti 2018-01-19 16:31:32 +01:00
Andre Puschmann 34d4017479 check if active state before stopping pdcp entity 2018-01-19 14:05:39 +01:00
Pedro Alvarez 4b62c9cb06 Merge branch 'next' into epc. 2018-01-18 13:40:46 +00:00
Ismael Gomez 62c9910b28 Increased timeout for LimeSDR 2018-01-18 12:56:52 +01:00
Ismael Gomez 76969932dc
Merge pull request #134 from softwareradiosystems/enbmimo
Enbmimo
2018-01-17 11:03:34 +01:00
Ismael Gomez 26017a8f98 Fixed double const warning 2018-01-17 10:39:45 +01:00
Ismael Gomez 0750ff3091 Option to not wrap when reading signal from file 2018-01-16 19:33:51 +01:00
Ismael Gomez 3be48c40c8 Added rotating log to srsUE and srsENB 2018-01-16 12:44:22 +01:00
Ismael Gomez 1f5ac41b37 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-01-16 09:57:54 +01:00
Ismael Gomez d2e1600053 Updated viterbi 16-bit scaling 2018-01-16 09:57:45 +01:00
Ismael Gomez d88ed887d7 Revert "Take 1st block of iteration instead of 2nd in viterbi"
This reverts commit b12f500207.
2018-01-16 09:55:14 +01:00
Xavier Arteaga 57d443ace2 Merge branch 'next' into enbmimo 2018-01-15 13:56:50 +01:00
Pedro Alvarez be7cde7639 Merge branch 'next' into epc, to include RLC AM fix. 2018-01-12 15:44:53 +00:00
Andre Puschmann cf5ed07cdb Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-01-12 15:28:44 +01:00
Paul Sutton e0ad960fd7 Reporting +1 in buffer state from RLC AM to avoid eNB issues with 1-byte packets 2018-01-12 14:27:22 +00:00
Ismael Gomez b12f500207 Take 1st block of iteration instead of 2nd in viterbi 2018-01-12 15:19:37 +01:00
Andre Puschmann 74138071db move radio bearer definition to RRC 2018-01-12 14:57:38 +01:00
Andre Puschmann 5fdce71710 remove explicit use of RB id's in PDCP 2018-01-11 16:25:04 +01:00
Xavier Arteaga 9ffdb1e62d Refactored PMI/CQI/RI reporting 2018-01-11 14:37:01 +01:00
yagoda 2375b152af small fix for viterbi test without AVX2 2018-01-10 21:26:58 +00:00
Ismael Gomez c521739b51 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-01-10 17:14:18 +01:00
Xavier Arteaga de654cd344 Merge branch 'next' into enbmimo 2018-01-10 16:30:36 +01:00
Xavier Arteaga 7a840d9f59 Solved RI reporting bug and improved PUSCH log trace 2018-01-10 16:29:17 +01:00
Ismael Gomez e16839d7a7 Merge branch 'next' into 16bit_avx_viterbi 2018-01-10 16:06:49 +01:00
Andre Puschmann 97448c0a1f fix uninitlized variable in logger and remove delegating ctor 2018-01-10 12:35:26 +01:00
Xavier Arteaga 1db3f8ffcc Fixed SSE interleaver SEGFAULT potential 2018-01-09 17:30:12 +01:00
Xavier Arteaga 2f08a13504 Fixed channel estimator noise estimation 2018-01-09 12:19:07 +01:00
Xavier Arteaga 9aea121528 Removed redundant bzero in chest_dl.c 2018-01-09 09:28:50 +01:00
yagoda d749ee66f4 introducing 16 bit viterbi support 2018-01-08 17:05:23 +00:00
Pedro Alvarez 042552491b Merging next into epc branch. 2018-01-08 14:45:13 +00:00
Xavier Arteaga 6b04152c18 Fixed channel estimator for fidx_offset > 3 2018-01-08 12:46:49 +01:00
Xavier Arteaga a01c5ea08f Fixes #119: channel estimation subframe averaging 2018-01-08 12:05:31 +01:00
Andre Puschmann cc6828feef fix member initialization in log_filter 2018-01-08 10:45:57 +01:00
Ismael Gomez 1fb2262130 Revert "Increased viterbi quantification to maximum"
This reverts commit 5c7ce5a799.
2018-01-05 10:33:39 +01:00
Ismael Gomez e4696fec38 Added ue location calculation for a particular L 2018-01-03 18:07:23 +01:00
Ismael Gomez 5c7ce5a799 Increased viterbi quantification to maximum 2018-01-03 18:06:53 +01:00
Ismael Gomez 0689e69aad Minor DCI str info edits 2018-01-02 13:21:29 +01:00
Ismael Gomez ba807f1ef3 DLSCH error when CRC=0x0 2018-01-02 13:21:11 +01:00
Ismael Gomez ba8a42b92a Set master clock rate by default for usrp unless x300 is defined 2018-01-02 13:20:43 +01:00
Ismael Gomez bbc5fad1cf Possible fix to RSSI bug by scoping rssi_sensor variable to local function 2017-12-29 19:21:36 +01:00
Ismael Gomez 03da3dadce Minor edits in dci info string 2017-12-29 00:26:01 +01:00
Ismael Gomez e867184aa3 Default sched policy for prio=-2 threads 2017-12-29 00:25:08 +01:00
Ismael Gomez a08c662028 Per-antenna SNR 2017-12-29 00:23:53 +01:00
Ismael Gomez 143bec18e3 fixed compilation 2017-12-21 11:40:57 +01:00
Ismael Gomez a799098784 Merge branch 'next' into merge_patch 2017-12-21 11:28:18 +01:00
Ismael Gomez c6ab02f3f4 Minor changes to logging 2017-12-21 11:26:05 +01:00
yagoda 318afbd8b4 minor fixes to phy logging 2017-12-20 15:15:27 +00:00
yagoda 23afd44a7d modifications to enable phy lib logging 2017-12-20 14:57:22 +00:00
Ismael Gomez 33c35d575d Save last PHICH correlation 2017-12-20 13:47:49 +01:00
Ismael Gomez 821d5595c5 Fixed AVX compilation 2017-12-20 12:35:28 +01:00
Ismael Gomez ba7d4ca3a4 Added API to access port/ant chest values 2017-12-20 10:37:36 +01:00
Ismael Gomez dfda8edc04 Minor changes to log 2017-12-20 10:01:57 +01:00
Ismael Gomez 37ee5505e9 Removed unused log_line() functions. Added DCI info string 2017-12-19 21:25:55 +01:00
yagoda 1b1301101c adding support for phy(C level) logging to file 2017-12-18 19:04:47 +00:00
Andre Puschmann 68537b76d6 fix compilation issue on ARM 2017-12-18 15:39:24 +01:00
Ismael Gomez 6711387ad7 Disabled AGC for initial cell search. Copy CFO from search and disable CP based CFO after search to reduce overhead 2017-12-17 23:05:28 +01:00
Pedro Alvarez a4e1707835 Fixed bug in packing ESM information request. 2017-12-17 16:05:52 +00:00
Ismael Gomez 845fc87945 Added option to log_filter to customize time source 2017-12-17 11:01:50 +01:00
Ismael Gomez 88e19ca19d Start AGC from half maximum gain 2017-12-16 13:12:31 +01:00
Ismael Gomez 64ed986a11 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2017-12-16 12:46:39 +01:00
Ismael Gomez 9355cd5732 Improved CFO loop. Fixed issue with sinusoid tolerance 2017-12-16 12:46:29 +01:00
Ismael Gomez 56f95ec8be Avoid changing master clock rate if it's the same 2017-12-16 12:45:35 +01:00
Xavier Arteaga ec254a9971 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into enbmimo 2017-12-15 10:01:38 +01:00
Ismael Gomez e96f1cb37c
Merge pull request #127 from softwareradiosystems/merge_patch
Merge patch
2017-12-14 23:39:07 +01:00
yagoda a99d6318db fixing viterbi testing bug 2017-12-14 17:26:54 +00:00
Xavier Arteaga abbbae9e81 rf_uhd_imp tx forces zeros if null pointer buffer 2017-12-14 17:36:58 +01:00
Ismael Gomez 60b81f47f1 Do chest on filter only when sic_pss is enabled. Do not equalize SSS by default (something is not ok and takes more time to decode it) 2017-12-14 12:57:44 +01:00
Ismael Gomez 39f9f15232 Fixed bug with 2 rx antennas 2017-12-14 12:34:57 +01:00
Ismael Gomez be7f247ad7 Merge branch 'master' into next 2017-12-13 18:28:00 +01:00
Ismael Gomez 142ee30029 Merge branch 'next_novolk' into next 2017-12-13 10:28:08 +01:00
Ismael Gomez 082da2f7b6 Added filter for maximum PSS CFO detection value. Increased averaging for PSS CFO estimation 2017-12-13 10:00:38 +01:00
Pedro Alvarez c838758db2 Added downlink IP tunnel. Downlink user plane packets reach the UE. 2017-12-07 17:09:31 +00:00
Xavier Arteaga 4fec7799e2 Fixed Aperiodic RI reporting for TM1-2 2017-12-07 09:41:47 +01:00
Xavier Arteaga f71240d845 Merge branch 'next' into enbmimo 2017-12-06 10:55:59 +01:00
Ismael Gomez b0a2fa3b0b Merge branch 'enbmimo' into mob_crypto_mimo 2017-12-04 12:10:46 -06:00
Ismael Gomez e720568e82 Revert "Added UE Mode 3-1 aperiodic reporting"
This reverts commit 0bd683b3c4.
2017-12-04 12:08:02 -06:00
Ismael Gomez eefbdbc913 Revert "Added Aperiodic mode 3-1 in enb and some more optimizations"
This reverts commit 8ab196901f.
2017-12-04 12:07:49 -06:00
Xavier Arteaga 8ab196901f Added Aperiodic mode 3-1 in enb and some more optimizations 2017-12-04 12:01:05 -06:00
Xavier Arteaga 0bd683b3c4 Added UE Mode 3-1 aperiodic reporting 2017-12-04 11:58:23 -06:00
Xavier Arteaga a2a7411509 Solved bug: Added TPC pack for DCI format 2A 2017-12-04 17:49:44 +01:00
Ismael Gomez 48dfc08fa3 Fixed SIC for PSS using channel estimates, added option to disable it (not usable on synchronous same-site cells). Use PSS CE in SSS decoding 2017-12-03 22:13:07 -06:00
Ismael Gomez 3607ac6154 Merge branch 'crypto' into mobility_crypto 2017-12-03 14:54:56 -05:00
Paul Sutton 324ba02481 Fix for PDCP EEA1 2017-12-03 18:16:05 +00:00
Ismael Gomez cfb059f0c2 Restart rx_counter for SRB in PDCP when restablishing 2017-12-02 22:52:17 +01:00
Ismael Gomez 5c31800ccb Fixed HO with ciphering 2017-12-02 22:43:35 +01:00
Ismael Gomez 9a255b477a Merge branch 'crypto' into mobility_crypto 2017-12-02 12:23:05 +01:00
Paul Sutton 1a323770c9 Added support for AS ciphering 2017-12-01 19:19:38 +00:00
Ismael Gomez 8f39a622fe Added cancelation of self interference of PSS and SSS signals 2017-12-01 19:50:42 +01:00
Ismael Gomez c0e79477b5 Fixed cell reselection when radio-link failure 2017-12-01 14:05:54 +01:00
Paul Sutton 516fdc27f1 Fix for NAS security bearer id, added encryption test sets, fix for compile warning 2017-12-01 12:38:18 +00:00
Ismael Gomez 6b264732d2 Disabled subframe average 2017-12-01 11:25:27 +01:00
Ismael Gomez f1c6bcd252 Merge branch 'next' into mobility 2017-11-30 20:13:06 +01:00
Ismael Gomez dd8bacf466 Calibrated CFO loop default values 2017-11-30 20:01:35 +01:00
Paul Sutton 84724d2ab1 NAS-plane encryption working (thanks to David Rupprecht) 2017-11-30 17:09:12 +00:00
Ismael Gomez 46f15c19e6 Added subframe averaging option in chest_dl. Optional in pdsch_ue 2017-11-29 20:28:04 +01:00
Ismael Gomez 6e0c24c7ee Fixed feedback loop in CFO correction 2017-11-29 18:55:03 +01:00
Ismael Gomez a3a1d268b7 Improved CFO estimation/correction by filtering central 6 PRB. Cleaned ue_sync/sync/pss objects. Used const attr in vector and other objects 2017-11-29 18:30:21 +01:00
Ismael Gomez 2772471e41 Added filtering function to PSS 2017-11-29 12:00:10 +01:00
Ismael Gomez 2fd2f15157 Cell RS based CFO estimation 2017-11-29 12:00:05 +01:00
Pedro Alvarez 103361deb9 Fixed SPGW initialization bug. 2017-11-28 17:52:57 +00:00
Ismael Gomez 15a1304395 Revert "Add noise reduction in PSS before estimating CFO"
This reverts commit 0d7af88822.
2017-11-28 16:20:40 +01:00
Ismael Gomez 0d7af88822 Add noise reduction in PSS before estimating CFO 2017-11-28 15:52:10 +01:00
Xavier Arteaga 854a77455d
Merge pull request #113 from softwareradiosystems/next_new_features
adding simd xor functionality
2017-11-28 11:24:15 +01:00
Ismael Gomez aacd9e1e5b Revert "Use CP-based CFO estimation only for DL and UL. Estimate every subframe. Calibrated EMA to 0.3 highest valid for low SNR"
This reverts commit 6196c096af.
2017-11-27 18:27:48 +01:00
Ismael Gomez 3a0ab02264 S1/X2 handover tested and working 2017-11-27 13:57:05 +01:00
yagoda 38903de07c adding simd xor functionality 2017-11-27 11:10:50 +00:00
Ismael Gomez cfbea7a6c1 Restored non-guru DFT interface. Removed input buffer from ue_dl interface 2017-11-26 00:38:23 +01:00
Ismael Gomez b9854b65da Merge branch 'next' into mobility 2017-11-26 00:38:19 +01:00
Ismael Gomez e035e248b8 Fix bug in sync when not correcting CFO 2017-11-26 00:36:59 +01:00
Ismael Gomez 8447c965e3 Fixing RSRP measurements 2017-11-25 10:40:53 +01:00
Ismael Gomez d428760b20 Merge branch 'next' into mobility 2017-11-24 12:02:41 +01:00
Ismael Gomez 408545dab8 X2 (constant NCC) working 2017-11-23 19:46:34 +01:00
Paul Sutton d9b9ae9454 Fix for GUTI pack bug, add support for integrity with attach req 2017-11-23 18:42:08 +00:00
Andre Puschmann dc65e4243c print build info to log and on stdout 2017-11-23 13:25:40 +01:00
Ismael Gomez 053f5a619d Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2017-11-23 12:38:48 +01:00
Ismael Gomez 8b6bd607a7 Fixed and tested AGC 2017-11-23 12:38:44 +01:00
Ismael Gomez 6196c096af Use CP-based CFO estimation only for DL and UL. Estimate every subframe. Calibrated EMA to 0.3 highest valid for low SNR 2017-11-23 12:36:16 +01:00
Xavier Arteaga f377b12f91 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into enbmimo 2017-11-22 18:17:48 +01:00
Xavier Arteaga dbf10cff17 Solved PDSCH Power Allocation p_b on eNB side 2017-11-22 18:01:13 +01:00
Xavier Arteaga 176dae270c Fixes #105. Added backtrace print in 'srsLTE.backtrace.crash' 2017-11-22 16:00:07 +01:00
Pedro Alvarez ccbeb9e1c5 Fixed a bunch of compilation errors. 2017-11-22 14:41:59 +00:00
Xavier Arteaga 91e706d4d1 Fixes #107: srslte_simd_f_sqrt NaN solved if input is 0 2017-11-22 12:23:46 +01:00
Ismael Gomez 0093497752
Merge pull request #106 from softwareradiosystems/power
Power
2017-11-21 18:45:11 +01:00
Xavier Arteaga 401cc9a20a Merge branch 'power' of https://github.com/softwareradiosystems/srsLTE into enbmimo 2017-11-21 16:36:30 +01:00
Xavier Arteaga 58aac96a6e Added Power Allocation from HL in UE side 2017-11-21 16:11:08 +01:00
Xavier Arteaga 4ecd73c984 Added power allocation p_a in UE 2017-11-21 11:51:18 +01:00
Xavier Arteaga 91c9ddf244 Added scaling factor to predecoder 2017-11-21 10:14:09 +01:00
Paul Sutton 38ab9921f8 Undoing unnecessary RLC fix 2017-11-21 09:06:48 +00:00
Paul Sutton 10bc2ee8a1 Fix for RLC AM polling condition 2017-11-20 16:32:41 +00:00
Ismael Gomez 12d8b373c7 srsUE takes and reports intra-frequency measurements correctly 2017-11-20 10:02:39 +01:00
Pedro Alvarez 2088b3967b Commenting out the initial GTP-C packing functions (for now). 2017-11-17 11:59:22 +00:00
Xavier Arteaga 721d15a8bb Solved PUSCH RI reporting bug 2017-11-17 10:43:29 +01:00
Xavier Arteaga af5ca314d0 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into enbmimo 2017-11-17 10:11:21 +01:00
Pedro Alvarez 542edb988a Added GTPC ie and msg type definitions 2017-11-16 21:07:55 +00:00
Xavier Arteaga e2a61af462 Added Aperiodic mode 3-1 in enb and some more optimizations 2017-11-16 14:48:03 +01:00
Ismael Gomez e04a221911 Removed volk occurrences. Fixes #103 2017-11-16 12:14:27 +01:00
Pedro Alvarez 04d3a3f8ca Continue to work on pakcing the create session request message 2017-11-15 19:10:14 +00:00
Pedro Alvarez 99f6ffe63b Starting to add code to create the GTP-C messages. 2017-11-15 16:39:25 +00:00
Xavier Arteaga ab3a3108f1 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into next 2017-11-15 13:45:53 +01:00
Xavier Arteaga b7d678f05e Solved bug when parsing two times the same subdev_spec 2017-11-15 13:45:26 +01:00
Ismael Gomez 809f211320 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2017-11-15 13:19:47 +01:00
Xavier Arteaga d041431c13 Merge branch 'reporting' into enbmimo 2017-11-14 17:25:43 +01:00
Xavier Arteaga b084b153cf Added UE Mode 3-1 aperiodic reporting 2017-11-14 17:11:48 +01:00
Ismael Gomez 058fbd7112 Fix adaptive retx in UE 2017-11-14 11:48:19 +01:00
Xavier Arteaga 861d65b070 Added subdev RF arguments. It fixes #95 2017-11-13 16:01:01 +01:00
Xavier Arteaga ca07f0064d Remove otw_format=sc12/sc16 from device args, also commas. 2017-11-13 10:47:02 +01:00
Ismael Gomez 344ace8f52
Fix issue #120 2017-11-12 11:43:56 +01:00
Ismael Gomez 4eb5ee5c58 Removed console debugging messages 2017-11-10 18:01:32 +01:00
Ismael Gomez 05973790ba Add checks for existence of retx buffer and remove from queue if not 2017-11-10 12:39:28 +01:00
Ismael Gomez e983987563 Check retx.sn exists in tx_window in required buffer size 2017-11-10 09:09:46 +01:00
Ismael Gomez a992fcf607 Fix concurrent access segfault in RLC AM 2017-11-10 07:42:45 +01:00
Xavier Arteaga c2d8508dcb Merge branch 'next' into enbmimo 2017-11-09 16:50:29 +01:00
Ismael Gomez 84db678608 Fixed Format1C RV with P-RNTI 2017-11-09 16:18:59 +01:00
Xavier Arteaga 9fbcf95367 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into enbmimo 2017-11-09 16:16:39 +01:00
Xavier Arteaga 2b0a4fa2d0 eNB: solved sched-pdsch bug 2017-11-09 15:42:02 +01:00
Paul Sutton 646f949d77 Fix for debug inline issue 2017-11-08 16:19:32 +00:00
Xavier Arteaga 75957d41d7 Added DCI formats 2 and 2a inScheduler. Improved UE PHCH, corrected some MIMO bugs on both sides. 2017-11-08 17:10:16 +01:00
yagoda cd6ca95cd1 lime additions and resampler optimizations (#94)
* adding optimizations to fractional resampler

* adding txrx delay for N210 and Lime

* minor corrections to Lime api

* optimization of the fractional resampler
2017-11-08 07:43:38 -08:00
Pedro Alvarez 468b0f2581 Fixed some issues with the MME and HSS logging. 2017-11-08 14:10:25 +00:00
Ismael Gomez 641eceb328 Merge branch 'next' into mobility 2017-11-07 17:13:57 -08:00
Paul Sutton 54b56ded4a Merge branch 'master' into next 2017-11-02 17:45:28 +00:00
Paul Sutton 935afe6ef3 Minor soapy fix 2017-11-02 17:44:56 +00:00
Ismael Gomez d615dc9ec9 Added missing deallocation in RLC UM in case of too small pdu 2017-11-01 16:30:14 -07:00
Ismael Gomez bb2bc95247 Fix diversity tx not working for 4 ports 2017-10-31 22:46:57 -07:00
Ismael Gomez 0d95159a2a Fix issue #114 2017-10-31 08:01:02 -07:00
Ismael Gomez 3a054a22b9 Remove OFDM normalization from enb_dl_init and do it before transmission 2017-10-31 07:26:49 -07:00
Ismael Gomez 6619ec9512
Merge pull request #83 from softwareradiosystems/rlc_am_poll_bug
fix bug in RLC AM where poll bit was never set
2017-10-31 07:24:11 -07:00
Xavier Arteaga 98969b2011 Implemented 3GPP 36.212 Tables 5.3.3.1.5-1 and 5.3.3.1.5-2 2017-10-31 12:19:35 +01:00
Ismael Gomez 81b34afff9 Normalize srsENB OFDM tx signal (srsENB not working PDSCH before this commit until ofdm changes commit) 2017-10-30 21:49:02 -07:00
Xavier Arteaga f9e428ef68 Optimised RI/PMI calculation call 2017-10-30 14:25:03 +01:00
Ismael Gomez de937faa20 Set invalid inputs error to dlsch_decode 2017-10-29 11:02:18 -07:00
Ismael Gomez be0b832927 Implement CW swap and TB to CW mapping for TM4 2017-10-29 10:29:53 -07:00
Ismael Gomez 1d095b006a Removed unused nof_tb variable 2017-10-28 23:30:29 -07:00
Ismael Gomez 3de86ca521 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2017-10-28 14:33:05 -07:00
Ismael Gomez abbd2e0f85 return error on precoding error 2017-10-28 14:33:01 -07:00
Xavier Arteaga 96a6d6ae9f Merge branch 'next' into enbmimo 2017-10-27 16:25:03 +02:00
Xavier Arteaga 6985682ef0 Added 2nd Codeword interface in scheduler, plus pmi close loop reporting 2017-10-26 17:09:28 +02:00
Andre Puschmann 7ba8c5b94a fix bug in RLC AM where poll bit was never set if poll_byte and poll_pdu are zero
- In case both poll_pdu and poll_byte are zero a status PDU is requested
  from the other AM entity every N data PDUs
2017-10-26 09:21:26 +02:00
Paul Sutton ac8cbcaaea 1-byte PDU fix for RLC AM 2017-10-25 11:18:49 +01:00
Paul Sutton bd206e94fc Merge pull request #77 from softwareradiosystems/measurementreports
Adding ASN support for RRC measurement report messages
2017-10-24 13:14:29 +01:00
Xavier Arteaga af669a6cbb Added RI reporting in enb and optimised RI computing calling time 2017-10-24 10:07:54 +02:00
Xavier Arteaga 15e75b2c65 Created Bit interleaver object and SSE optimised interleaver 2017-10-23 14:23:03 +02:00
Ismael Gomez 610e892036 Merge branch 'next_novolk' of github.com:softwareradiosystems/srsLTE into next_novolk 2017-10-20 12:34:42 -04:00
Ismael Gomez 85571c47cd Added option to ue.conf to configure CFO EMA (set default to 0.4) 2017-10-20 12:34:34 -04:00
Xavier Arteaga a400999927 Merge branch 'next_novolk' of https://github.com/softwareradiosystems/srsLTE into next_novolk 2017-10-20 18:17:43 +02:00
Xavier Arteaga c1b296eb2c SSE optimization for srslte_bit_interleave_w_offset 2017-10-20 18:17:07 +02:00
Paul Sutton 7e3fbbc639 Adding ASN support for RRC measurement report messages 2017-10-20 16:18:26 +01:00