Commit Graph

305 Commits

Author SHA1 Message Date
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 176dae270c Fixes #105. Added backtrace print in 'srsLTE.backtrace.crash' 2017-11-22 16:00:07 +01:00
Ismael Gomez 0093497752
Merge pull request #106 from softwareradiosystems/power
Power
2017-11-21 18:45:11 +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
Ismael Gomez 12d8b373c7 srsUE takes and reports intra-frequency measurements correctly 2017-11-20 10:02:39 +01: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 c6e947e7ca Enable S-TMSI attach 2017-11-15 13:18:15 +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 49a621e193 removed last tti in adaptive retx. moved to phch_common 2017-11-14 13:44:47 +01:00
Ismael Gomez 058fbd7112 Fix adaptive retx in UE 2017-11-14 11:48:19 +01:00
Ismael Gomez e5f78b1620 Print error to console if security/integrity not supported 2017-11-10 19:11:15 +01:00
Ismael Gomez 710cb583b0 Make last pdu in grant to use all available space. Fixes when 1 byte is in RLC AM but grant is 3 bytes (header is 2) 2017-11-10 18:02:34 +01:00
Ismael Gomez 9cf95f5c32 Attempt to reset timer regardless of N310 2017-11-10 18:00:05 +01:00
Ismael Gomez 42d08046d3 Fixed bug with UL adaptive retx 2017-11-10 17:59:35 +01:00
Ismael Gomez bf32d45b6f Check valid nof_tb before call to pdsch and log instead of print 2017-11-10 07:54:30 +01:00
Ismael Gomez aeb16a5b7a Fixed TA command when negative offset 2017-11-10 07:04:50 +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
Ismael Gomez d59bd77d40 Log TA commands 2017-11-09 07:45:56 +01: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
Ismael Gomez 641eceb328 Merge branch 'next' into mobility 2017-11-07 17:13:57 -08:00
Xavier Arteaga f9e428ef68 Optimised RI/PMI calculation call 2017-10-30 14:25:03 +01:00
Ismael Gomez be0b832927 Implement CW swap and TB to CW mapping for TM4 2017-10-29 10:29:53 -07:00
Ismael Gomez 9c04bf2848 Removed metrics period from listener 2017-10-28 16:13:17 -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
Xavier Arteaga af669a6cbb Added RI reporting in enb and optimised RI computing calling time 2017-10-24 10:07:54 +02:00
Ismael Gomez 3cbe526cbc Revert "Disable RSSI sensor by default"
This reverts commit c14393b24f.
2017-10-20 12:43:04 -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
Ismael Gomez 7bef0b0e7f Merge branch 'next' into next_novolk 2017-10-20 10:13:04 -04:00
Xavier Arteaga c8bba2f4d0 DFT optimization. memcpy removal (#76)
* Solved PHICH Segmentation fault for MIMO

* Initial Guru FFT optimitzation

* Guru (i)FFT implemented. All test passed!

* Integrated new DFT into pdsch_enodeb and pdsch_ue. Solved more DFT bugs.

* Solved Merge Errors and bugs

* Solved UL Guru bug (DC missing). Updated Init and OFDM calls for enb and ue (cell measurement too).
2017-10-20 10:09:27 -04:00
Ismael Gomez 3b4649b9f7 Fixed bug in calc_new_transmission 2017-10-20 09:29:56 -04:00
Ismael Gomez c14393b24f Disable RSSI sensor by default 2017-10-19 19:39:54 -04:00
Ismael Gomez dfef7c1a25 coverty uninitialized member 2017-10-19 18:10:17 -04:00
Ismael Gomez 05d6a1c829 added option to configure netmask (rules out previous commit) 2017-10-19 16:26:00 -04:00
Ismael Gomez 9dbbe9731a missing netmaks string after merge 2017-10-19 16:18:40 -04:00
Ismael Gomez 2f44e2bf3a Refactored cases mcs>29 for ul/dl 2017-10-19 16:13:50 -04:00
Ismael Gomez 399f1cdbd1 Force retx for mcs>29 and new tb if rv=0 && mcs<29 2017-10-19 16:13:01 -04:00
Ismael Gomez f1ec1b2f3c disable attempt to resync after N310 (too soon if N310 is low) 2017-10-18 19:33:43 -04:00
Paul Sutton b8d5b5b6a9 count_dl fix 2017-10-18 19:06:43 -04:00
Ismael Gomez 177f36fc8c Improved cell reestablishment procedure timers (still not working the authentication) 2017-10-18 16:50:22 -04:00
Ismael Gomez 240eba2af5 Fix for async dl scheduling 2017-10-18 16:49:36 -04:00
Ismael Gomez 739b8fc457 Restored TA commands 2017-10-18 16:34:18 -04:00
Ismael Gomez 12877fe296 Missing ip_netmask configuration file 2017-10-18 16:33:19 -04:00
Ismael Gomez ed7856ea57 Merge branch 'next' into next_novolk 2017-10-18 11:21:31 -04:00
Ismael Gomez 0a1f51e592 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2017-10-18 11:20:36 -04:00
Andre Puschmann 5ee2a37c2b fix bug in dl_harq where if always returned true 2017-10-18 15:01:36 +02:00
Ismael Gomez 2b0b57176f Removed pid from demux 2017-10-17 12:10:31 -04:00
Ismael Gomez c4c1c62360 stable connection. Runs out of samples in ringbuffer if clock differences 2017-10-13 17:59:12 +02:00
Ismael Gomez db87a41d80 Merge branch 'next_novolk' into mobility 2017-10-13 10:27:04 +02:00
Ismael Gomez d3e3ecacb6 Merge branch 'next' into next_novolk 2017-10-13 10:26:33 +02:00
Ismael Gomez 4fe2904939 Removed unnecessary T311 timer start 2017-10-13 10:23:25 +02:00
Andre Puschmann 21d9cb6142 fix UL harq statistic printing 2017-10-12 20:52:31 +02:00
Andre Puschmann f5bc1049dc don't use log if USIM isn't initialized 2017-10-12 11:57:13 +02:00
Ismael Gomez aeabcb4551 Merge branch 'next' into next_novolk 2017-10-12 11:53:14 +02:00
Ismael Gomez eec7b27b89 Added check for msg3 buffer overflow. Increased msg3 buffer. Fixes #103 2017-10-11 17:09:51 +02:00
Xavier Arteaga 21355de77e Added TM3 (1 layer only) eNB support at RRC 2017-10-11 17:00:49 +02:00
Ismael Gomez f4e883d24f Divided phch_recv in subclasses 2017-10-10 16:42:24 +02:00
Xavier Arteaga e8da7160f0 eNB transmits diversity by default if two cell ports are configured 2017-10-10 13:24:23 +02:00
Ismael Gomez fda886407b Added option to force the DL/UL frequency at the UE 2017-10-10 12:33:10 +02:00
Ismael Gomez a180b5ebac Msg3 delay is added to harq delay 2017-10-10 12:06:24 +02:00
Ismael Gomez 1dff82065b Merge branch 'next' into next_novolk 2017-10-07 23:25:07 +02:00
Ismael Gomez 7a14e28837 Extened to all US MCC codes 2017-10-07 22:17:55 +02:00
Ismael Gomez e4529b943b Extened to all US MCC codes 2017-10-07 22:17:39 +02:00
Ismael Gomez c7d5231251 Read Home PLMN from IMSI 2017-10-07 21:58:41 +02:00
Ismael Gomez a5b384da4a Added support for roaming PLMN 2017-10-07 21:58:33 +02:00
Ismael Gomez 1c677f7183 Read Home PLMN from IMSI 2017-10-07 21:58:08 +02:00
Ismael Gomez 2159ad3280 Added support for roaming PLMN 2017-10-07 21:31:13 +02:00
Andre Puschmann 2311e2a715 Merge branch 'soapy_fixes' into next 2017-10-06 15:05:14 +02:00
Andre Puschmann 5d5e8167b7 stop radio after radio error 2017-10-06 15:04:17 +02:00
Ismael Gomez eb07dacfe9 Cleaning logging format 2017-10-06 14:33:22 +02:00
Ismael Gomez 404971703c PLMN update only on PLMN search state 2017-10-06 14:04:33 +02:00
Ismael Gomez 0c3d4e9ad3 Removed log 2017-10-06 14:04:14 +02:00
Ismael Gomez ca0cf017d6 Now working with variable HARQ scheduling 2017-10-05 16:52:02 +02:00
Ismael Gomez fb0a918f7a Merge branch 'next' into next_novolk 2017-10-05 12:27:00 +02:00
Ismael Gomez b353ed03dd cleaned stdout metric 2017-10-05 12:26:48 +02:00
Ismael Gomez c8dc3d1ad7 Merge branch 'next_with_variable_harq' into next_novolk 2017-10-04 18:30:10 +02:00
Ismael Gomez c066732095 Merge branch 'next' into next_with_variable_harq 2017-10-02 18:17:24 +01:00
Ismael Gomez 602b684352 Reduced default TX/RX gains in srsUE/srsENB 2017-10-01 21:04:41 +02:00
Ismael Gomez d6bdabfdc0 Changed all harq delays to variables 2017-09-29 20:38:12 +02:00
Ismael Gomez 32a29f1d34 Do not reset radio on srsUE receive error 2017-09-29 13:39:18 +02:00
Andre Puschmann d836defd57 add field to CSV metrics that contains the UE connection state 2017-09-27 18:33:20 +02:00
Ismael Gomez 92144ce15d Revert "Handle RRC ConnectionReject at eNodeB and UE"
This reverts commit b6f905e2df.
2017-09-26 18:26:57 +02:00
Ismael Gomez b6f905e2df Handle RRC ConnectionReject at eNodeB and UE 2017-09-26 16:45:02 +02:00
Ismael Gomez 736b73bb4b Print PDSCH iterations per codeword 2017-09-26 14:51:37 +02:00
Ismael Gomez 489ac43408 Minor logging edits 2017-09-25 11:21:19 +02:00
Ismael Gomez 95000edfd8 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2017-09-24 20:53:59 +02:00
Ismael Gomez 3aabd83289 fixed blocked timers due to syncrhonization lost 2017-09-24 20:51:26 +02:00
Andre Puschmann 15d89c3e95 add CSV metrics to UE 2017-09-24 13:36:31 +02:00
Andre Puschmann 6eb6468ba9 add CSV metrics object 2017-09-23 22:24:37 +02:00
Andre Puschmann 124bd0a2ba add basic metrics test 2017-09-23 19:43:01 +02:00
Andre Puschmann f92728ad6e add console message when prenting metrics in RRC_IDLE 2017-09-22 15:00:07 +02:00
Andre Puschmann 0636aa289c use metrics_hub in UE 2017-09-22 13:01:06 +02:00
Ismael Gomez c7c2ab6ed5 Fix to prevent USRP from disabling TX when transmitting zeros 2017-09-22 00:58:21 +02:00
Ismael Gomez b12d69b439 Set default TX mode to continuous and fixed uplink synchronization (radio set offset concurrent access) 2017-09-21 21:43:24 +02:00
Ismael Gomez 6de06457fa Removed MAC timers thread and call them from main MAC thread 2017-09-21 21:42:27 +02:00
Ismael Gomez 4753366096 Added option to ue.conf/enb.conf to forward logs to stdout 2017-09-21 21:21:35 +02:00
Ismael Gomez 18d2c44b71 Restored L/U/O metrics 2017-09-20 23:06:08 +02:00
Ismael Gomez bb9ff5fcc5 UE to recover from an sporadic loss of synchronization due to USRP overflow 2017-09-20 22:47:55 +02:00
Ismael Gomez 931cfa2db9 Add source of Late message 2017-09-20 22:47:14 +02:00
Ismael Gomez 8fd4ba7486 added per-thread PHY logging 2017-09-20 19:57:43 +02:00
Ismael Gomez f8c5eb28d3 Fix not showing L/U/O warnings 2017-09-20 19:22:20 +02:00
Xavier Arteaga 648f7c3591 Increased compatibility for TM3 and TM4 with one Rx antenna 2017-09-20 18:32:11 +02:00
Ismael Gomez 6556941e6d simplified MAC timers. Unified mac and upper timers in same background task 2017-09-19 17:51:35 +02:00
Ismael Gomez 5359c42b46 RLC UM release timer at stop() 2017-09-19 15:15:25 +02:00
Ismael Gomez 4a86967530 Improved stability after radio link failure and radio transport error 2017-09-18 18:34:33 +02:00
Ismael Gomez fcbcf1ec7b Removed grant size condition from calc_new_transmission 2017-09-18 16:58:28 +02:00
Xavier Arteaga c29af35158 Solved bug: when a retransmission of a succesfully decoded block was received 2017-09-18 15:56:58 +02:00
Ismael Gomez 68b1782c86 Fixed Paging and reattachment in new state machine. Moved GW to srsue 2017-09-18 14:02:31 +02:00
Ismael Gomez 826667361e Reduced chances of uhd demuxer error. Reset device when it occurs 2017-09-15 17:49:31 +02:00
Ismael Gomez 05da1ac480 Merge branch 'mobility' of github.com:softwareradiosystems/srsLTE into mobility 2017-09-13 13:39:17 +02:00
Xavier Arteaga afd2bbbfc2 Added periodic RI on PUCCH for TM3 and TM4 2017-09-13 13:37:48 +02:00
Xavier Arteaga 65f5987ea8 Added RI reporting for TM3 and TM4 (no PMI) 2017-09-13 13:37:42 +02:00
Xavier Arteaga 709787b581 Improved robustness of PDSCH decoder 2017-09-13 13:37:12 +02:00
Xavier Arteaga 230eb63a97 Refactored grant: removed nof_tb from grant. Use tb_en instead. 2017-09-13 13:36:20 +02:00
Xavier Arteaga 4b00908abb Removed bug in dl_harq for multiple TB 2017-09-13 13:19:27 +02:00
Xavier Arteaga 1ac7f325df Solved bug for plotting srsue contellation and removed trace of tb_cw_swap 2017-09-13 13:17:42 +02:00
Xavier Arteaga 8eab3b4688 Removed redundant condition 2017-09-13 13:16:31 +02:00
Ismael Gomez 41188b409e cleaned up cfo set tolerance functions 2017-09-12 11:10:32 +02:00
Ismael Gomez 7b854476a2 fixed radio set/get freq precision 2017-09-12 11:10:13 +02:00
Ismael Gomez 8661503d59 restore RX gain to 50 dB 2017-09-07 13:25:40 +02:00
Ismael Gomez f0d9b333b2 Improved stability when UE reattaches 2017-09-07 13:19:53 +02:00
Ismael Gomez ea0f6f2e2a removed pdcch log 2017-09-06 18:13:37 +02:00
Ismael Gomez 394d8f166a Improved initial CFO estimation for PRACH. Fixed bug in PDCCH after changing cell 2017-09-06 18:05:07 +02:00
Ismael Gomez f1bacd009a Reduced time to sync to cell 2017-09-06 16:28:26 +02:00
Ismael Gomez b771c35371 add freq_offset option to ue.conf 2017-09-06 15:05:57 +02:00
Ismael Gomez 22f194182c fixed memory leaks 2017-09-06 09:51:12 +02:00
Ismael Gomez b0639ab394 resolved merge conflicts 2017-09-05 15:26:36 +02:00
Ismael Gomez 9ae21dfd5d reattaching cells with different IDs and PRB 2017-09-04 12:26:58 +02:00
Ismael Gomez 6e0fd43c1f Moved FFTW to WISDOM and save/load from file 2017-09-04 10:45:13 +02:00
Ismael Gomez 82a90fe4f1 Merge branch 'next' into mobility 2017-09-01 19:40:15 +02:00
Ismael Gomez a51b6b09dd Merged with next. Attach successful 2017-09-01 19:32:57 +02:00
Ismael Gomez 2335d2a644 remove boost::assign 2017-09-01 14:24:48 +02:00
Ismael Gomez e5feec1934 Temporal commit before merge. Changed sequence objects to avoid reallocating memory. new NAS/RRC working with initial attachment 2017-09-01 13:29:11 +02:00
Ismael Gomez c5bc3b11b7 remove spaces 2017-08-31 18:07:54 +02:00
Ismael Gomez 51fc9bffb1 added release function for mac timers 2017-08-29 12:01:30 +02:00
Ismael Gomez 9997f8c20a (fix typo) Added default value for filter coefficient in UL power control dedicated 2017-08-29 11:22:39 +02:00
Ismael Gomez c10f13139e Added default value for filter coefficient in UL power control dedicated 2017-08-29 10:10:05 +02:00
Ismael Gomez 955170bd52 Improved DL TCP performance by tweeking BSR reports and UL scheduler 2017-08-28 10:06:12 +02:00
Ismael Gomez 0f9f76ff00 calibrated configuration values 2017-08-22 15:06:32 +02:00
Andre Puschmann c474b24d32 add basic NAS configuration class 2017-08-07 13:17:11 +02:00
Andre Puschmann 82c206c2bb Merge branch 'master' into next 2017-07-24 18:11:58 +02:00
Andre Puschmann 32b3046d0f fix segfault in UE PHY tests
- added dummy rrc class to UE phy tests
2017-07-24 18:10:31 +02:00
Andre Puschmann d6c027069c Merge branch 'master' into next 2017-07-14 10:49:15 +02:00
Andre Puschmann 00be4a5de7 fix bug with uninitalized number of rx antennas 2017-07-14 10:48:34 +02:00
Andre Puschmann 39ebc0e5fd gracefully exit MAC test when radio init fails 2017-07-14 10:48:26 +02:00