Commit Graph

856 Commits

Author SHA1 Message Date
Andre Puschmann ac194ae7b1 fix warning in timeout test 2018-03-06 22:24:07 +01:00
Ismael Gomez be7dc37e7c Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-03-06 22:20:46 +01:00
Ismael Gomez 13efa740e8 Changed logic in RRC/NAS/PHY for cell/plmn search to avoid stucking in IDLE 2018-03-06 22:20:38 +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 d84f6d3d41 add parameter to change loglevel in rlc am stresser 2018-03-06 14:04:17 +01:00
Andre Puschmann 853f774607 add threaded timeout test 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
Paul Sutton 57505725e0
Merge pull request #157 from softwareradiosystems/issue_154fix
Issue 154fix
2018-03-06 12:51:02 +01:00
Ismael Gomez 390a463d9f Check for PDU allocation and add warnings 2018-03-06 12:41:44 +01:00
Ismael Gomez dc65061dbb Print buffer pool status every 10s (Debugging commit) 2018-03-06 12:37:45 +01:00
Ismael Gomez 206e41a244 Disable buffer pool timestamps 2018-03-06 12:37:08 +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 067d76a5c8 enable buffer pool log 2018-03-05 11:22:02 +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 07c704b0dd extend RLC AM stress tester to mimic reestablishment 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
Andre Puschmann 507ce037bf parameterize RLC AM stress tester and add to ctest suite 2018-03-04 21:53:06 +01:00
Andre Puschmann a85288566b print summary about allocated buffers when buffer pool is full 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 91664ef2be Do sell reselection on IDLE by phch_recv thread instead of worker 2018-03-04 11:55:58 +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 ec901373d4 Correction ofo simd.h for AVX512 2018-03-01 14:01:36 +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 8cabfa82cf Added CSI report enable option in SRS UE 2018-02-28 12:30:34 +01: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 cfaa5e9b28 Fix previous commit could not HO more than once due to not refreshing serving cell after 1st HO 2018-02-25 19:13:12 +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 56df710d1f Add rx_gain_offset interface for RSRP calibration 2018-02-21 11:51:55 +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 94fe9d4a47 rlc: add basic RLC AM reset test 2018-02-20 12:27:02 +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
Ismael Gomez f8303acba7 Fixed memory leak in logger_stdout 2018-02-17 21:37:48 +01:00
Andre Puschmann a6ccb05bb1 fix mem leak in RLC UM test and RLC AM stress tester 2018-02-16 21:32:53 +01:00
Andre Puschmann 1be93d4682 add RLC UM destructor 2018-02-16 21:32:21 +01:00
Andre Puschmann c5ffdfe8c7 set byte_buffer ptr to null after deallocating from pool 2018-02-16 21:31:11 +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 b5b1c0bf4b fix memory leaks RLC AM test 2018-02-16 12:41:13 +01:00
Andre Puschmann 75f42ac829 add RLC AM destructor 2018-02-16 12:40:07 +01:00
Andre Puschmann f86bebb0f3 Revert "deallocate sdu in rlc_am_test"
This reverts commit 48278c4c06.
2018-02-16 11:23:58 +01:00
Andre Puschmann 48278c4c06 deallocate sdu in rlc_am_test 2018-02-16 10:25:57 +01:00
Andre Puschmann b2ce6ec9a9
Merge pull request #139 from mrlnc/apn_cfg
Add APN to config and PDN connectivity request
2018-02-16 09:43:20 +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 a1f9b35db3 Minor rlc_am_stress_test fix 2018-02-12 17:24:48 +00: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
Pedro Alvarez cc9845ef07 Merging HSS resynch functionality from David Rupprecht. Resolving conflict in user_db.csv. 2018-02-09 15:04:22 +00: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 22117156b3 rlc_am: disable stress tester as test 2018-02-09 11:48:26 +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 7ae186d499 Typo in printing default pdsch_ue help 2018-02-08 20:58:00 +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
Paul Sutton 60b059f3cc Adding RLC AM stress test 2018-02-07 21:59:50 +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
Andre Puschmann 6142b66632 only print print buffer pool when it's empty 2018-02-05 15:10:05 +01:00
Paul Sutton c40f5e6ef8 Fixes for RLC AM tests 2018-02-05 09:30:58 +00: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
Andre Puschmann b73b29ff9e Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-02-02 11:13:16 +01:00
Andre Puschmann e5a04844ec more coverity fixes 2018-02-02 09:43:10 +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 8258c28a4c Revert "fix coverity issue in macro returning negative nof symbols per subframe"
This reverts commit ed46abbad0.
2018-02-01 15:53:09 +01:00
Andre Puschmann 8e1aa0edd8 temporary mod to print RLC config in warning mode 2018-02-01 15:44:58 +01:00
Andre Puschmann 32bc0e0ac2 disable buffer pool logging 2018-02-01 13:27:54 +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
Andre Puschmann b24a1c8131 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-01-31 15:02:36 +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
Andre Puschmann dbe0fa6f4e calculate actual period for metrics logging 2018-01-31 13:28:45 +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