373 Commits (e62972d38e472093a58b021e087eaf350901adb3)

Author SHA1 Message Date
Andre Puschmann ea2e692836 pdu: fix MAC RAR PDU packing and unpacking with backoff indicator 6 years ago
Francisco Paisana 00256f2cd9 fix the hanging in the UE during shutdown 6 years ago
Andre Puschmann 58b09c8677 fix pool_allocate macros for new unique_buffer 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 bc01a5ecda changed block_queue api to return back the unique buffer in case it fails to push it to the queue 6 years ago
Francisco Paisana f4aa03154d change queue read and other functions apis 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
Andre Puschmann 62dad5e21d add nb-iot tag support to PCAP writer 6 years ago
Francisco Paisana 7be183c223 rework scheduler 6 years ago
Xavier Arteaga 2aa36dd11c Added backtrace print helper 6 years ago
Andre Puschmann fcd086a1c5 fix metrics_hub compilation for older gcc using std::chrono 6 years ago
Andre Puschmann 0f6997170b fix unitialized var in pdu.h 6 years ago
Francisco Paisana 1674c8939f automatically resolve invalid prach_offset for prb6 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
Ismael Gomez 7780b1aba5 add tdd/ca support 6 years ago
Andre Puschmann afb591ee97 add ctor for worker class in thread_pool 6 years ago
Andre Puschmann c8f8c16d50
make EIA and EEA algorithms configurable (#323)
this patch allows to configure the EIA and EEA algorithms
the UE uses and announces during attach. They can
be specified as a comma-separated list.

The patch also removes a dedicated NAS config class and uses
the default nas_args_t type for this. There was a full
duplication of members before.

The patch also converts nas_args_t and usim_args_t into a class
with a default constructor that initialize all booleans.
6 years ago
Andre Puschmann 2e1b8240e6 fix uninitialized timeval struct in metrics_hub
This was causing issue in some builds done on the Ubuntu
PPA systems leading to an SIGILL when starting the UE/eNB
6 years ago
Andre Puschmann 77ca1d9882 load config file from user's home directory first before checking etc 6 years ago
Francisco Paisana 0204db2e12 new asn1 rrc library 6 years ago
Andre Puschmann c88cc35fdf try to load config files from /etc/srslte before checking users's home 6 years ago
Andre Puschmann df40259c26 fix issue in PDCP when bearer ID for DRBs was not starting with 1 6 years ago
Pedro Alvarez 25108e2e2b Added configuration options to UE for IPv6 PDN. Starting to send PDN connectivity requesting IPv6. 6 years ago
Andre Puschmann 3f36594f1e fix copy ctors in bit_buffer_t 6 years ago
Andre Puschmann 481a1829dd stop metrics hub thread before calling stop on listeners 6 years ago
Andre Puschmann 270707b7a8 add missing initialization in block_queue 6 years ago
Andre Puschmann 93d17fed3e disable buffer pool logging by default 6 years ago
Andre Puschmann bd6bb6903f fix block_queue pop and clear methods
- pop was bzero'ing the popped object which
  causes for more complex objects like std::string
- clear wasn't actually emptying the queue
6 years ago
Andre Puschmann e64de7ec6b increase maximum buffer size to accomodate max TBS for Cat4 UEs 6 years ago
Pedro Alvarez b577c9ac8c Merge branch 'mnc_plmn_217' into next 6 years ago
Andre Puschmann 1985d7b37c fix byte_buffer copy and assignment ctor 6 years ago
Andre Puschmann 07e42c1964 Merge branch 'rlc_am_subclass' into next 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 c9186f110c add log_filter dtor 6 years ago
Pedro Alvarez 49c44a2bd4 Moved int_helpers to lib so that the EPC can use those functions too. 6 years ago
Andre Puschmann d981f129e0 Merge branch 'master' into next 6 years ago
Andre Puschmann adbec3ee70 fix warning in common.h reported by clang-tidy 6 years ago
Andre Puschmann 2ef2baf72a increase size of buffer_pool
- This solves an issue where in the worst-case an RLC AM instance would
  block because no new data nor control PDUs could be created to flush
  the buffers, effectivly causing a system stall.
- Happens in RLC AM stress test regularly with higher drop rates.
6 years ago
David Rupprecht bf4c84ef7b Fixed clear function in blocked queue (#199) 6 years ago
Andre Puschmann be3b2fbc08
Merge pull request #239 from softwareradiosystems/epc_stacktrace
Epc stacktrace
6 years ago
Pedro Alvarez 84e7925f69 Fixed up a comment. 6 years ago
Pedro Alvarez 597cf18b9d Changing common/debug.h to crash_handler.h 6 years ago
Andre Puschmann 291d80119c fix conflicts after merging 6 years ago
Ismael Gomez 3f38165827 Add log to pool deallocate 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
Andre Puschmann 936001aaf5 add blocking allocation to buffer_pool 6 years ago
Pedro Alvarez c3ef88e112 Fixing conflicts with next. 6 years ago
Andre Puschmann 4c59f52f9a
Merge pull request #237 from softwareradiosystems/epc_pcap
Epc pcap
6 years ago
Ismael Gomez bd5c1fd83a deallocate dedicatedInfoNAS in rrc 6 years ago
Ismael Gomez 074db8478c deallocate dedicatedInfoNAS in rrc 6 years ago
Pedro Alvarez bd43b6e937 Cleanup comment. 6 years ago
Pedro Alvarez ff49e56871 Starting to add s1ap_pcap class. 6 years ago
Pedro Alvarez 96786e96da Splitting the lib debug into phy and common debug. 6 years ago
Ismael Gomez 493706eab1 Incorrect default value in buffer pool 6 years ago
Ismael Gomez a2615628aa Increase buffer pool size for enb 6 years ago
Andre Puschmann 355330dab9
Merge pull request #234 from softwareradiosystems/log_fix
Log fix
6 years ago
Ismael Gomez 589e569ce9
Changes on srsENB mutexing logic to fix general race condition and deadlock issues (#229)
* fixed some issues with the UL scheduling

* Hack to fix UL scheduler

* minor fix

* Cleaned up code and fixed issue with the update_allocation function

* fixed the console printing in the enb

* log/console fix

* fixed the log print

* added a normalization factor

* RLC: entity uses dynamic instances. Simplified stop/reset/reestablish procedure. Added non-blocking interface

* Limit decimals in metrics stdout

* Changed mutexes to rwlock in RLC/RRC/MAC/PDCP to fix race conditions when removing users

* Fix deadlock bug for MIMO

* Remove headers

* Fix missing unlock causing overflows

* Do not decrease CQI when PUCCH (this is a temporal fix, requires to reduce the maximum MCS)

* Fix mutex unlock in worker

* Configurable RLC tx buffer. Default to 512 for enodeb

* Check NULL SDU in write_sdu()

* Protect RLC objects and tx_queue from being destroyed while using it

* Remove superfluous code

* Disable SIB logging

* Fix block_queue for enb
6 years ago
Andre Puschmann 87fd218c72 remove unused cond variable in logger 6 years ago
Andre Puschmann 4deb251071 remove duplicate run-state variable in logger_file 6 years ago
Andre Puschmann 05ede38ea6 remove obsolte config.h 6 years ago
Pedro Alvarez f301bb6373 Merging next into op_vs_opc and resolving conflicts. 6 years ago
Andre Puschmann 01f6395d70 add option to force IMSI attach by not loading NAS ctxt from file 6 years ago
Pedro Alvarez 75c5e476f1 Added OPc option to UE. (needs testing.) 6 years ago
Pedro Alvarez 02bc1c9956 Revert "Starting to add OP/OPc support."
This reverts commit 1766e11076.
6 years ago
Pedro Alvarez e3d1cff4a3 Revert "Adding OPc option to security functions."
This reverts commit 0eeb70bede.
6 years ago
Pedro Alvarez 0eeb70bede Adding OPc option to security functions. 6 years ago
Pedro Alvarez 1766e11076 Starting to add OP/OPc support. 6 years ago
Ismael Gomez 67e90d5a9b Code style: Use { } even in 1-line if 7 years ago
Ismael Gomez 863fe4fcd0 Revert "check in SRSLTE_CONFIG_DIR for configs by default"
This reverts commit fb77cb87ca.
7 years ago
Andre Puschmann fb77cb87ca check in SRSLTE_CONFIG_DIR for configs by default 7 years ago
Andre Puschmann 36c650399b rework app startup to search for config files in user's home directory 7 years ago
Ismael Gomez 0a2e9d7b8b Do not reset metrics in the hub 7 years ago
Andre Puschmann cb15dee3d4 Merge branch 'embms_merge_final' into next 7 years ago
yagoda 54bdfd83ec adding support for mbsfn subframe configuration to pdsch examples 7 years ago
Ismael Gomez 4662b83fe9 Use bzero instead of {} for initializing structs 7 years ago
Andre Puschmann 61d525ea80 Merge branch 'next' into embms_merge_final 7 years ago
Andre Puschmann 234ec178b2 cleanup pdu.h 7 years ago
Ismael Gomez bad007cdd9 Increase/decrease nbytes counter inside mutexed queue 7 years ago
Andre Puschmann 9ca2b89282 fixing compile warnings 7 years ago
Andre Puschmann 9ce3be974a Merge branch 'next' into embms_merge_final 7 years ago
yagoda e4c3f0bc30 adding mbms-gw and mch generation tables 7 years ago
yagoda ec918eab76 adding support for embms in common functions and interfaces 7 years ago
Andre Puschmann a30ad8952c fix indent and simplify auth request packing 7 years ago
Andre Puschmann d0457211ad adding support for CHAP auth 7 years ago
Andre Puschmann 51e093e611 Merge branch 'next' into rlc_updates 7 years ago
Ismael Gomez 040c33497d merged PR#189 and added check for non-empty queue in get size tail 7 years ago
Ismael Gomez 4515dd94ea Use blocking queue for RRC measurement fixes #193 7 years ago
Ismael Gomez 04609cd07d Check msg_queue size_tail_bytes existence of buffer 7 years ago
Ismael Gomez ba40a4de84 Add checks for when RLC TM queue is corrupted and reset it 7 years ago
Ismael Gomez f3f4528a2f Testing commit to force a Reestablishment 1s after CONNECT 7 years ago
Andre Puschmann 85028d2aed use pretty function name in buffer_pool debug
- this avoids ambiguity between names, for example
  in reassemble_rx_sdus() for rlc_am an rlc_um
7 years ago
Andre Puschmann 718a15608c dealloc SCH pdu in MAC instead of pdu_queue
- this is basically e9fcb10c9e
  but with the counterpart in the eNB's MAC
7 years ago
Andre Puschmann 595ed70cae Revert "Deallocate SCH pdu on demux instead of pdu_queue"
This reverts commit e9fcb10c9e.
7 years ago
Andre Puschmann 05696a5ca7 Merge branch 'next' into rlc_updates 7 years ago
Ismael Gomez e9fcb10c9e Deallocate SCH pdu on demux instead of pdu_queue 7 years ago
Ismael Gomez aa1724b8f3 Add missing-field-initializers flag and properly initialize structs 7 years ago
Joseph Giovatto ab1d9e98f3 Format and typelimit warnings (#169)
* merge with origin 4fc7dbc3 8daa8346

* fixed whitespace diff

* added .gitignore

* added format warning flags to C_FLAGS
added typelimit check to C_FLAGS and CXX_CLAGS

* Revert "added format warning flags to C_FLAGS"

Apply to branch format_and_typelimt branch

This reverts commit bf7467e82e.

* check for format warnings to top level C_FLAGS
added typelimit warnings to top level C_FLAGS and CXX_FLAGS
beset effort attempt to remedy warnings
removed unused param names in hex_log baseclass methods due to multitude of unused-warnings
7 years ago
Andre Puschmann a2f6166365 Merge branch 'next' into rlc_updates 7 years ago
Andre Puschmann d8bfd2713c initialize byte_buffer content in ctors 7 years ago
Ismael Gomez b237d6063e Align header buffer to 8-byte boundary as expected by S1AP pack/unpack functions 7 years ago
Ismael Gomez ab78eb6d58 Process BCCH from pdu_process thread. Process PCCH from new thread in RRC 7 years ago
Ismael Gomez edd9cbf4dc Merge branch 'next' into sync_states 7 years ago
Andre Puschmann b298d3d3f9 add missing const keyword to log_filter's members 7 years ago
Andre Puschmann e76fe75c22 add missing const keyword to log_filter's members 7 years ago
Andre Puschmann 61a24cbd4a Merge branch 'next' into rlc_updates 7 years ago
Andre Puschmann dd76f85313 Merge branch 'master' into next 7 years ago
Joseph Giovatto 802f8b716f set msg and hex buf to const * 7 years ago
Joseph Giovatto 4e05266ea8 added printf format check for hex logs 7 years ago
Andre Puschmann 2dcd6695bc remove obsolete config.h 7 years ago
David Rupprecht 9d71bec7b6 Unified include guards 7 years ago
Andre Puschmann 4ea5fe6509 Merge branch 'next' into rlc_updates 7 years ago
Joseph Giovatto 49da57c8a1 Changed log methods to take string literal vs string object
to allow for format checking and save on object copy.
Fixed log format specifier warnings.
7 years ago
Andre Puschmann fffda82f1e increase size of bytebuffer to compensate header, add helper to get remaining size 7 years ago
Andre Puschmann e7c74fa0f7 add simple RLC PCAP writer 7 years ago
Andre Puschmann 7993385742 increase size of bytebuffer to compensate header, add helper to get remaining size 7 years ago
Ismael Gomez b3be54b274 Attach and paging ok. Reselection on IDLE not working 7 years ago
Ismael Gomez 28e12dbf7d Merge branch 'next' into sync_states 7 years ago
Andre Puschmann c5b423ffee fix subheader parsing 7 years ago
Ismael Gomez f88f465c97 Refactored NAS/RRC/PHY cell_search/selection procedures 7 years ago
Ismael Gomez 682ed433b2 Possible fix to #167 7 years ago
Ismael Gomez 64cc34adb0 previous commit not working 7 years ago
Ismael Gomez d873eaca5c Assign same timer id after release (was not really a bug) 7 years ago
Andre Puschmann 5335f046ff dealloc mutex and cond in msg_queue 7 years ago
Andre Puschmann 43811e1886 deallocate used buffers in buffer_pool dtor 7 years ago
Andre Puschmann 9553784e2f change phy_log in UE to log_filter 7 years ago
Andre Puschmann 853f774607 add threaded timeout test 7 years ago
Paul Sutton 57505725e0
Merge pull request #157 from softwareradiosystems/issue_154fix
Issue 154fix
7 years ago
Ismael Gomez dc65061dbb Print buffer pool status every 10s (Debugging commit) 7 years ago
Ismael Gomez 206e41a244 Disable buffer pool timestamps 7 years ago
Andre Puschmann 067d76a5c8 enable buffer pool log 7 years ago
Andre Puschmann a85288566b print summary about allocated buffers when buffer pool is full 7 years ago
Andre Puschmann 8b9bc15ffc Merge branch 'next' into rlc_fixes 7 years ago
Ismael Gomez f8303acba7 Fixed memory leak in logger_stdout 7 years ago
Andre Puschmann c5ffdfe8c7 set byte_buffer ptr to null after deallocating from pool 7 years ago
Andre Puschmann b2ce6ec9a9
Merge pull request #139 from mrlnc/apn_cfg
Add APN to config and PDN connectivity request
7 years ago
Ismael Gomez 86818ad65f Fix compilations warnings and remove printf debugs 7 years ago
Andre Puschmann ddfd114865 rlc_am: disable debug prints 7 years ago
Paul Sutton d1d6cea737 Adding debug helpers 7 years ago
Andre Puschmann 705acec6b9 fix uninitialized variables in logger 7 years ago
Andre Puschmann 6142b66632 only print print buffer pool when it's empty 7 years ago
Andre Puschmann 32bc0e0ac2 disable buffer pool logging 7 years ago
Andre Puschmann dbe0fa6f4e calculate actual period for metrics logging 7 years ago
Ismael Gomez 9b6e18d84f Lower srsENB priorities below UHD threads 7 years ago
Andre Puschmann bf45ba32bf inform all listeners about stop in metrics hub 7 years ago
Ismael Gomez 754566b28f Changed priorities to below UHD in srsUE 7 years ago
Merlin Chlosta fcedeb0278 Add APN to config and PDN connectivity request 7 years ago
Xavier Arteaga 0ba58d8d24 Fixed PUSCH retransmissions for non-RRC configured rnti 7 years ago
Pedro Alvarez 4b62c9cb06 Merge branch 'next' into epc. 7 years ago
Andre Puschmann 892ff2c36a add configuration for GW 7 years ago
Ismael Gomez 3be48c40c8 Added rotating log to srsUE and srsENB 7 years ago
Andre Puschmann 40a3290e36 initialize metrics object 7 years ago
Pedro Alvarez be7cde7639 Merge branch 'next' into epc, to include RLC AM fix. 7 years ago
Andre Puschmann 74138071db move radio bearer definition to RRC 7 years ago
Andre Puschmann 97448c0a1f fix uninitlized variable in logger and remove delegating ctor 7 years ago
Pedro Alvarez 042552491b Merging next into epc branch. 7 years ago
Ismael Gomez c6ab02f3f4 Minor changes to logging 7 years ago
Ismael Gomez 968a503d93 Fixed segfault in metrics hub 7 years ago
Ismael Gomez dfda8edc04 Minor changes to log 7 years ago
Ismael Gomez 37ee5505e9 Removed unused log_line() functions. Added DCI info string 7 years ago
Ismael Gomez 845fc87945 Added option to log_filter to customize time source 7 years ago
Ismael Gomez 9a255b477a Merge branch 'crypto' into mobility_crypto 7 years ago
Paul Sutton 1a323770c9 Added support for AS ciphering 7 years ago
Ismael Gomez c0e79477b5 Fixed cell reselection when radio-link failure 7 years ago
Paul Sutton 84724d2ab1 NAS-plane encryption working (thanks to David Rupprecht) 7 years ago
Ismael Gomez 3a0ab02264 S1/X2 handover tested and working 7 years ago
Ismael Gomez d428760b20 Merge branch 'next' into mobility 7 years ago
Ismael Gomez 408545dab8 X2 (constant NCC) working 7 years ago
Ismael Gomez 12d8b373c7 srsUE takes and reports intra-frequency measurements correctly 7 years ago
Ismael Gomez 49a621e193 removed last tti in adaptive retx. moved to phch_common 7 years ago
Ismael Gomez 9389cc1957 Removed deallocating unkown buffer error 7 years ago
Ismael Gomez 42d08046d3 Fixed bug with UL adaptive retx 7 years ago
Ismael Gomez cb6adba46a Merge branch 'master' into next 7 years ago
Ismael Gomez 9c04bf2848 Removed metrics period from listener 7 years ago
Ismael Gomez 770490a115
Merge pull request #109 from mrlnc/pcap_write_sfn
Write SFN to MAC-LTE PCAP file
7 years ago
Merlin Chlosta 50b196a04e Write SFN to MAC-LTE PCAP file 7 years ago
Ismael Gomez 399f1cdbd1 Force retx for mcs>29 and new tb if rv=0 && mcs<29 7 years ago
Ismael Gomez 240eba2af5 Fix for async dl scheduling 7 years ago
Ismael Gomez ed7856ea57 Merge branch 'next' into next_novolk 7 years ago
Andre Puschmann aa5a3bfdae fix bug reported by coverity 7 years ago
Andre Puschmann 29b9b6001b fix metric hub when called with periodicity other than 1s 7 years ago
Pedro Alvarez adf1764496 added plmn to MCCMNC in the srslte lib 7 years ago
Ismael Gomez d3e3ecacb6 Merge branch 'next' into next_novolk 7 years ago
Ismael Gomez d38475d6d0 Fixed % log in buffer pool capacity warning 7 years ago
Ismael Gomez aeabcb4551 Merge branch 'next' into next_novolk 7 years ago
Ismael Gomez db5d747c66 Fix coverty issues 7 years ago
Ismael Gomez a180b5ebac Msg3 delay is added to harq delay 7 years ago
Ismael Gomez 1dff82065b Merge branch 'next' into next_novolk 7 years ago
Ismael Gomez 2159ad3280 Added support for roaming PLMN 7 years ago
Ismael Gomez ca0cf017d6 Now working with variable HARQ scheduling 7 years ago
Ismael Gomez c8dc3d1ad7 Merge branch 'next_with_variable_harq' into next_novolk 7 years ago
Ismael Gomez d6bdabfdc0 Changed all harq delays to variables 7 years ago
Andre Puschmann 5d317454e3 initialize metrics buffer properly 7 years ago
Andre Puschmann 4eb52f58fc wait until periodic thread finishes during stop 7 years ago
Andre Puschmann 0636aa289c use metrics_hub in UE 7 years ago