551 Commits (67ccaf10295966c7787819a48de114944935211a)

Author SHA1 Message Date
yagoda 408400bee6 adding fixes and tests for eMBMS 5 years ago
Francisco Paisana 424876c5e4 added DL TTI mask for MBMS 5 years ago
Ismael Gomez 98f52529f7 Minor change to ue.conf 5 years ago
Ismael Gomez 0dac2ef59b Update SIB2 also when forcing p_b 5 years ago
Ismael Gomez feafec2725 Fix srsENB PHY log and reorganized expert args 5 years ago
Andre Puschmann 62eba8f3d8 fix default radio, channel and rx antenna setting in eNB (#594) 5 years ago
Andre Puschmann f1387d8cf8 fix uninitialized vars in scheduler_grid 5 years ago
Ismael Gomez 1b970fa978 Modified comments 5 years ago
Xavier Arteaga 5e49aca835
Merge pull request #570 from softwareradiosystems/feature_256qam_fix
Resource allocation extended tables and PDSCH table 2 for 256QAM
5 years ago
Andre Puschmann e0b583db5d remove extra indirection from enb_phy 5 years ago
Andre Puschmann 4e86b2f6b2 introduce layerd architecture we use for UE to eNB
- this allows flexible use of different PHYs and radios
- use common radio_multi (moved to lib)
5 years ago
Ismael Gomez d595c4d882 Fixes issue #545 and unlocking of tti_sync condvar before closing causing deadlock at stop 5 years ago
Andre Puschmann 5faa819dcd fixing uninitialized class members found by coverity 5 years ago
Andre Puschmann 92f0d58856 mac: move further init/config into ctor to allow early logging, etc. 5 years ago
Andre Puschmann 6a11030ae1 enb: fix race condition in workers overwriting the DL tx buffer
this adds a own tx buffer for each HARQ PID
5 years ago
Francisco Paisana 58e2e51044 removed rlc_interfaces. The rlc_cnfg types are now part of the rrc_interface_types. Removed implicit RB initialization in the RLC. 5 years ago
Francisco Paisana b936629221 removed rrc asn1 header from bcd_helpers, from rlc_interface, and rlc tests 5 years ago
Guillem Foreman db4127ca64 Fixes 256QAM, added pdsch table 2, fixed warnings 5 years ago
Guillem Foreman 535325bc37 srsLTE: added resource allocation extended tables for 256QAM and integration with PDSCH test 5 years ago
Andre Puschmann 62a4fa1c93 fix various potential buffer overruns
this is based on suggested fixes by Dirk Grabinski and David who
have fuzzed various parts of srsLTE using afl
5 years ago
Francisco Paisana 34fde16b40 change scheduler mutex to std::mutex (#546)
* change scheduler mutex to std::mutex

* rename lck to lock
5 years ago
Pedro Alvarez 498f1b8e4b Small PDCP fixes:
- Moved most the initialization of the pdcp_entity to the header.
  - Initilize some variables in gtpu_ntoa.
  - Removed debug print.
  - Format eNB GTP-u debugging code.
5 years ago
Pedro Alvarez 5d8dcbe4cb Make sure that PDCP SN is initialized properly in the eNB. UE attaches again when using encription. 5 years ago
Pedro Alvarez b97d1191f4 Added more debug info at eNB GTP-U. Changed the pdcp_entity to follow the standard more strictly for RLC AM DRBs. 5 years ago
Pedro Alvarez 09144a2c5f Added check of IP version to the eNB GTP-u. Helpfull for debug. 5 years ago
Andre Puschmann 58763fb714 stack: move initialization of log object into ctor
this fixes the issue when the stack is torn down if, for example,
the radio couldn't be loaded correctly. it will hence call stop() on all stack
components which are not initialzized yet, and logging therefore doesn't work.
the log object is know during contruction time and therefore can be passed
in as soon as possible.
5 years ago
Andre Puschmann da35f41dd5 rework MAC logical channel prioritization 5 years ago
Andre Puschmann e0a28cf4c0 simplify PDCP init and also bypass it for SRB0 on eNB 5 years ago
Francisco Paisana ce29ed545d moved mac thread to the stack. Protect the interface of the stack with PHY and gateway via a queue of tasks 5 years ago
Francisco Paisana 415d3418b6 reorganized enb to mirror ue director/class structure with a stack class 5 years ago
Andre Puschmann e47010130f extend thread class to set unique thread name in ctor
this will also extend all classes that use srslte::thread
to specify the name of the thread in the ctor as well
as to set the name of the worker threads in the thread pool
the thread name will be displayed in gdb.
6 years ago
Andre Puschmann 0e95867f13 remove task dispatcher class 6 years ago
Xavier Arteaga 1f52c32b84 SRSENB: Fixed CLang Tidy in enb.cc 6 years ago
Xavier Arteaga 080b4a327c SRSUE: Refactored asynchronous cell and ue_radio. CA Fixed. 6 years ago
Andre Puschmann 65f50cd7ba introduce new UE layer design
- abstract UE object now consists of a radio, a PHY, and a stack layer
- add new stack abstraction layer that combines MAC, RLC, RRC, PDCP, NAS and GW
- PHY layer now has a single stack interface and does not talk to MAC and RRC seperatly
6 years ago
Francisco Paisana 0e3baa0f2f Renamed the reset() method of byte_buffer_t to clear() 6 years ago
Francisco Paisana 3bedc93ba5 added _t to unique_byte_buffer type 6 years ago
Francisco Paisana f469e2178b replaced byte_buffer_t allocated by the buffer pool for unique_byte_buffer which is safer and easier to use 6 years ago
Francisco Paisana 0976ea6f27 created a unique byte buffer that automatically deallocates 6 years ago
Francisco Paisana 7be183c223 rework scheduler 6 years ago
Francisco Paisana b04cb0deb9 using the new choice set api in UE and eNB RRC 6 years ago
yagoda c25f3b0acf increasing rlc UM window size for eMBMS, small adjustment to eMBMS PHY common 6 years ago
Pedro Alvarez d4d7691fab Catch exception by reference to avoid compiler warning. 6 years ago
Ismael Gomez 5e5e797cb9 Adjust 75 PRB radio offset and clean log 6 years ago
Francisco Paisana a0235ccafe better error messages 6 years ago
Francisco Paisana e70e88b8b4 revert prach freq offset auto change 6 years ago
Francisco Paisana 82a0145593 added extra tests in the unpacking of rrc asn1 6 years ago
Francisco Paisana 1674c8939f automatically resolve invalid prach_offset for prb6 6 years ago
Andre Puschmann e4ea96aa79 add check for return value for RRC unpacking
- handle error cases accordingly
6 years ago
yagoda 3842beab0f - fixing pmch file test for standard LTE rates
- adding special value for MTCH stop
- adding error messages for config values incompatible with MBMS
6 years ago
Andre Puschmann 4b01a2e4a0 update copyright notice 6 years ago
Andre Puschmann 205db6f229 add missing license headers 6 years ago
Francisco Paisana 4ba1993815 fixed some race conditions in the scheduler (#411) 6 years ago
Pedro Alvarez c51a8bfe9d Fix compilation error when using GCC 8, C++11 and C complex functions. 6 years ago
Andre Puschmann 45de6c3305 fix selection for EEA0 and disallow EIA0 6 years ago
Ismael Gomez 7780b1aba5 add tdd/ca support 6 years ago
Andre Puschmann bdfb408857 fix uninitialized loop counter 6 years ago
Pedro Alvarez 435d63b871 Making sure errors in the enb.conf is handled gracefully 6 years ago
David Rupprecht 39c49ab1ef Configurable sec algo preference list 6 years ago
David Rupprecht fd34e22c84 Started with local preference selection algorithm 6 years ago
David Rupprecht 735f97ceb6 Fixed Bearer ID for data Bearer and changed debug type for enc data pdus 6 years ago
David Rupprecht b84e49310e Enable encryption in reconfiguration and after security mode command (NOT TEST) 6 years ago
David Rupprecht eb3a83ac45 User Plane key in configuration interface 6 years ago
Francisco Paisana 185242d5f5 default release for ack_nack_repeat 6 years ago
Francisco Paisana 8a0ae614c2 added default value to ack_nack_repeat 6 years ago
Francisco Paisana f778c6ca8d make mcch check 6 years ago
Francisco Paisana 41338293ea added a default radioframe alloc 6 years ago
Francisco Paisana dc0b903130 added default enum inits 6 years ago
Pedro Alvarez aa3a2a3dba Fix compilation issue with GCC 8.x using complex numbers. 6 years ago
Andre Puschmann 3702a6660e fix compilation for gcc 4.x 6 years ago
Andre Puschmann 1cc6ae3c60 enable c++11 support 6 years ago
Andre Puschmann 8e38ef2ee4 print PDU length when logging RRC message 6 years ago
Francisco Paisana 75acb046d9 small p_a initialization fix 6 years ago
Andre Puschmann 6b04435edc move setting of EARFCNs straight into parse_args function 6 years ago
Andre Puschmann 4204321fde fix uninitialised variables in enb during startup 6 years ago
Francisco Paisana 43a8a8e195 checking the number of prbs available for DL requires an additional check for the prb=6 (#322) 6 years ago
Francisco Paisana 15abb2b020 set the correct size of the buffer for paging 6 years ago
Andre Puschmann 86232c143e expose RLC tx queue length through config struct 6 years ago
Andre Puschmann a436baed39 fix build string for builds without valid .git folder 6 years ago
Francisco Paisana d22e53832b fix sib.conf.mbsfn.example defaults 6 years ago
Francisco Paisana be06f260db fixed issues in the parsing of sibs 6 years ago
Pedro Alvarez c5dad67a16 Adding catch to boost program options parser. 6 years ago
Francisco Paisana 0204db2e12 new asn1 rrc library 6 years ago
Andre Puschmann 8326299ec5 fix uninitialized variables 6 years ago
Andre Puschmann 2590ebd10b fix bugs reported by coverity 6 years ago
Andre Puschmann df7ab7ffe8 Merge branch 'master' into next 6 years ago
Igor Kim 9def82d15b add error handling on binding s1c socket (#267) 6 years ago
Andre Puschmann d52ea8b602 decrease threshold for DL scheduler to allocate SDU
since the RLC buffer state now returns the actual number of
bytes, which may be as low as 2B for a single RLC AM status PDU waiting
to be transmitted, the current DL scheduler wasn't allocating the
PDU even though it was given a grant
6 years ago
Andre Puschmann c3441046c9 simplify RLC buffer status query procedures
- add a simple and low-overhead has_data() method to check whether
  an RLC entity has data to transmit or not
- use this method for all calls that are actually not interested
  in the amount of data to send
- use the more expensive get_buffer_state() for all cases where
  the actual size of the buffer is of importance
6 years ago
Andre Puschmann df40259c26 fix issue in PDCP when bearer ID for DRBs was not starting with 1 6 years ago
Andre Puschmann 4867b16e38 move config file parsing in enb to beginning of init
- this waits with initializing the radio until after the configs have been read
- in case the config files contain any mistake, the enb shuts down gracefully
6 years ago
rubund b801c3dd4e Fix some spelling errors detected by lintian (#271) 6 years ago
Andre Puschmann c60f7e9013 remove "disconnected" from enb console trace 6 years ago
Pedro Alvarez 548808ecee Changing RRC key logging from debug to info. Small readability fix. 6 years ago
Pedro Alvarez 645bd60d75 More debug prints 6 years ago
Andre Puschmann 05abdc9516 remove printf from eNB RRC 6 years ago
Andre Puschmann db910cb84b add CSV metrics for eNB 6 years ago
Andre Puschmann 8a1368c8d6 send connection reject if MME isn't connected 6 years ago
Andre Puschmann 93d17fed3e disable buffer pool logging by default 6 years ago
Andre Puschmann c35b467d57 suppress scheduler warning for failed PUCCH allocation for 6 PRBs 6 years ago
Andre Puschmann 5a3fa7c305 fix scheduler issues for 6 PRBs 6 years ago
Francisco Paisana d234f4a614 fix MCS assignment for 6 PRBs
- cherry-picked and resolved conflicts from 0960ef5c6dcd2f9b96169b3f4c266197b922c46e
6 years ago
Francisco Paisana bbfd09b62e add the prach fit checks for PRB=6 6 years ago
Andre Puschmann 15d439761a log build info in eNB/EPC logs 6 years ago
Pedro Alvarez a42c71f8ee Added some debug logs to the eNB GTPU. 6 years ago
Pedro Alvarez 2c761069d4 Adding m1u config to enb.conf.example. 6 years ago
Pedro Alvarez de75a74932 Fixed some compilation issues. 6 years ago
Pedro Alvarez 796e3fd707 Adding M1-U options to eNB config 6 years ago
Pedro Alvarez d443604661 Merge next into gtp_cleanup_sn. Fixed some conflicts. 6 years ago
Andre Puschmann c56fa3b46c only enable eMBMS if both the sib config is present and its enabled in enb config 6 years ago
Andre Puschmann ea35cc9b5e fix typo in config files 6 years ago
Paul Sutton 0e4ab77fb0 GTPU cleanup, adding support for GTPU echo response (#265) 6 years ago
Andre Puschmann 0380c83175 remove RF device calibration settings from UE/eNB config
- this remove RF calibration parameters that were an extra
  section in the eNB/UE config but were hardly used (only old bladeRF)
- a better way to pass those parameter would be through the
  device args in the normal rf config section
6 years ago
Andre Puschmann af5a329fec print build-info during enb startup 6 years ago
Pedro Alvarez e925ef0a42 Added some more debug infor to error prints. Making sure that packet is not sent from the eNB if there is an error in the GTP-U header packing. Fixed error in checking msg_type. 6 years ago
Pedro Alvarez c1f633c5c7 Dropping bitfields for now. Using #defines and uint8_t for the flags. 6 years ago
Pedro Alvarez 7b4bc6f132 Integrity fail after service request (#268)
* Adding some debug prints to confirm the issue.
* Cleanup whitespaces.
* More debug prints
* Adding boolean to whether it is actually necessary to send NAS message in RRC reconfiguration.
* Deleting debug prints.
6 years ago
Pedro Alvarez e320c33aef Fixed last compilation issues. 6 years ago
Pedro Alvarez ee04639337 Changed gtpu header flags to use a bitfield. Fixing compilation issues. 6 years ago
Ismael Gomez 42e46bc599 Fix MBSFN section optional and default PRACH configuration for MBSFN example 6 years ago
Andre Puschmann b603125dea Revert "fix eNB config parsing issue causing eMBMS to be always disabled"
This reverts commit 09a47b51b2.

Causes issues when receiving PRACH from UE.
6 years ago
Ismael Gomez 5cfdc81522 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 6 years ago
Ismael Gomez cfb3a43aed Lower priority of workers 6 years ago
Andre Puschmann 09a47b51b2 fix eNB config parsing issue causing eMBMS to be always disabled 6 years ago
Paul Sutton 569a7cbc94 GTPU cleanup, adding support for GTPU echo response 6 years ago
Pedro Alvarez c4a5af11d5 Fixed nibble order in mccmnc_to_plmn and plmn_to_mccmnc. Fixed corresponding PLMN test 6 years ago
Andre Puschmann 10a43f04ba Merge branch 'master' into next 6 years ago
Andre Puschmann b27ff06e79 Merge remote-tracking branch 'origin/issue_178' into next 6 years ago
Joseph Giovatto dc3e88079a moved earb_info from parent to be unique per ue to avoid overwrites (#234)
consult integrity check result before proceeding
6 years ago
Andre Puschmann 22599bffda fix bug in PUSCH decoding when multiple UEs provide HARQ feedback 6 years ago
Ismael Gomez 6f0c554445 TA estimate correction factor calibrated for all bandwidths 6 years ago
Pedro Alvarez 49c44a2bd4 Moved int_helpers to lib so that the EPC can use those functions too. 6 years ago
Ismael Gomez 13cba873d5 Make SIB2 mbsfn settings optional 6 years ago
Andre Puschmann d981f129e0 Merge branch 'master' into next 6 years ago
Ismael Gomez dabfbfb75a Fixes #250 6 years ago
Igor Kim 8d48613c38 fix typo in metrics rssi CMA calculation (#230) 6 years ago
Ismael Gomez 6a791f1416 Change TX mutex to semaphores (mutex implementation was violating lock ownership requirement) 6 years ago
Ismael Gomez bc9d342959
New optimization on the PHY for both UE and eNodeB (#251)
* New parallel Turbodecoder implementation in SSE/AVX 16-bit and 8-bit

* Optimised UL Interleaver

* Include TB CRC calculation in FEC encoder

* New threading priorities
6 years ago
Andre Puschmann 4da8bf26f8 use non-blocking PDCP write in GW 6 years ago
Andre Puschmann 27d3d697df refactor RLC part#2
- move metrics into entities
- make configure interface return true/false on success/failure
- add own srslte mode type
6 years ago
Andre Puschmann edfc9df77d Merge branch 'master' into next 6 years ago
yagoda a0fa2d5b01 small fix in eMBMS MAC 6 years ago
Andre Puschmann 47a8b1343f add rwlock to PDCP 6 years ago
Andre Puschmann ccf58a63ce reduce default log-level to warning 6 years ago
Andre Puschmann 10469cd3a0 Merge branch 'master' of github.com:srsLTE/srsLTE 6 years ago
Andre Puschmann f1c5835133 fix eNB default config help text 6 years ago
Andre Puschmann be3b2fbc08
Merge pull request #239 from softwareradiosystems/epc_stacktrace
Epc stacktrace
6 years ago
Pedro Alvarez 597cf18b9d Changing common/debug.h to crash_handler.h 6 years ago
Ismael Gomez 2d5cdc4f35 Add log to pool deallocate 6 years ago
Ismael Gomez 5474f6d55f Add log to pool deallocate 6 years ago