Pedro Alvarez
c4a5af11d5
Fixed nibble order in mccmnc_to_plmn and plmn_to_mccmnc. Fixed corresponding PLMN test
2018-09-25 14:55:12 +01:00
Andre Puschmann
c9186f110c
add log_filter dtor
2018-09-25 10:45:15 +02:00
Pedro Alvarez
49c44a2bd4
Moved int_helpers to lib so that the EPC can use those functions too.
2018-09-24 14:08:00 +01:00
Andre Puschmann
d981f129e0
Merge branch 'master' into next
2018-09-20 12:54:05 +02:00
Andre Puschmann
adbec3ee70
fix warning in common.h reported by clang-tidy
2018-09-13 17:12:32 +02:00
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.
2018-07-30 15:11:31 +02:00
David Rupprecht
bf4c84ef7b
Fixed clear function in blocked queue ( #199 )
2018-07-25 09:54:22 +02:00
Andre Puschmann
be3b2fbc08
Merge pull request #239 from softwareradiosystems/epc_stacktrace
...
Epc stacktrace
2018-07-13 14:28:13 +02:00
Pedro Alvarez
84e7925f69
Fixed up a comment.
2018-07-13 12:06:27 +01:00
Pedro Alvarez
597cf18b9d
Changing common/debug.h to crash_handler.h
2018-07-13 11:57:15 +01:00
Andre Puschmann
291d80119c
fix conflicts after merging
2018-07-13 12:42:54 +02:00
Ismael Gomez
3f38165827
Add log to pool deallocate
2018-07-12 18:41:25 +02:00
Ismael Gomez
2d5cdc4f35
Add log to pool deallocate
2018-07-12 18:13:27 +02:00
Ismael Gomez
5474f6d55f
Add log to pool deallocate
2018-07-12 18:13:19 +02:00
Andre Puschmann
936001aaf5
add blocking allocation to buffer_pool
2018-07-12 17:52:53 +02:00
Pedro Alvarez
c3ef88e112
Fixing conflicts with next.
2018-07-12 15:43:27 +01:00
Andre Puschmann
4c59f52f9a
Merge pull request #237 from softwareradiosystems/epc_pcap
...
Epc pcap
2018-07-12 16:00:31 +02:00
Ismael Gomez
bd5c1fd83a
deallocate dedicatedInfoNAS in rrc
2018-07-11 12:56:14 +02:00
Ismael Gomez
074db8478c
deallocate dedicatedInfoNAS in rrc
2018-07-10 19:52:46 +02:00
Pedro Alvarez
bd43b6e937
Cleanup comment.
2018-07-10 15:56:57 +01:00
Pedro Alvarez
ff49e56871
Starting to add s1ap_pcap class.
2018-07-09 18:25:43 +01:00
Pedro Alvarez
96786e96da
Splitting the lib debug into phy and common debug.
2018-07-09 13:15:35 +01:00
Ismael Gomez
493706eab1
Incorrect default value in buffer pool
2018-07-06 16:20:15 +02:00
Ismael Gomez
a2615628aa
Increase buffer pool size for enb
2018-07-06 15:30:51 +02:00
Andre Puschmann
355330dab9
Merge pull request #234 from softwareradiosystems/log_fix
...
Log fix
2018-07-06 13:07:55 +02:00
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
2018-07-05 11:00:19 +02:00
Andre Puschmann
87fd218c72
remove unused cond variable in logger
2018-07-03 13:17:48 +02:00
Andre Puschmann
4deb251071
remove duplicate run-state variable in logger_file
2018-07-03 13:09:43 +02:00
Andre Puschmann
05ede38ea6
remove obsolte config.h
2018-06-29 15:31:34 +02:00
Pedro Alvarez
f301bb6373
Merging next into op_vs_opc and resolving conflicts.
2018-06-26 11:36:40 +01:00
Andre Puschmann
01f6395d70
add option to force IMSI attach by not loading NAS ctxt from file
2018-06-19 14:23:47 +02:00
Pedro Alvarez
75c5e476f1
Added OPc option to UE. (needs testing.)
2018-06-18 15:19:04 +01:00
Pedro Alvarez
02bc1c9956
Revert "Starting to add OP/OPc support."
...
This reverts commit 1766e11076
.
2018-06-18 11:34:45 +01:00
Pedro Alvarez
e3d1cff4a3
Revert "Adding OPc option to security functions."
...
This reverts commit 0eeb70bede
.
2018-06-18 11:29:40 +01:00
Pedro Alvarez
0eeb70bede
Adding OPc option to security functions.
2018-06-18 11:24:35 +01:00
Pedro Alvarez
1766e11076
Starting to add OP/OPc support.
2018-06-15 13:28:23 +01:00
Ismael Gomez
67e90d5a9b
Code style: Use { } even in 1-line if
2018-06-04 18:38:18 +02:00
Ismael Gomez
863fe4fcd0
Revert "check in SRSLTE_CONFIG_DIR for configs by default"
...
This reverts commit fb77cb87ca
.
2018-06-04 17:36:59 +02:00
Andre Puschmann
fb77cb87ca
check in SRSLTE_CONFIG_DIR for configs by default
2018-06-04 15:01:16 +02:00
Andre Puschmann
36c650399b
rework app startup to search for config files in user's home directory
2018-06-01 15:33:15 +02:00
Ismael Gomez
0a2e9d7b8b
Do not reset metrics in the hub
2018-05-31 15:32:01 +02:00
Andre Puschmann
cb15dee3d4
Merge branch 'embms_merge_final' into next
2018-05-23 21:25:37 +02:00
yagoda
54bdfd83ec
adding support for mbsfn subframe configuration to pdsch examples
2018-05-22 16:03:25 +02:00
Ismael Gomez
4662b83fe9
Use bzero instead of {} for initializing structs
2018-05-22 15:14:03 +02:00
Andre Puschmann
61d525ea80
Merge branch 'next' into embms_merge_final
2018-05-22 10:39:05 +02:00
Andre Puschmann
234ec178b2
cleanup pdu.h
2018-05-22 10:28:50 +02:00
Ismael Gomez
bad007cdd9
Increase/decrease nbytes counter inside mutexed queue
2018-05-21 23:24:55 +02:00
Andre Puschmann
9ca2b89282
fixing compile warnings
2018-05-17 17:27:44 +02:00
Andre Puschmann
9ce3be974a
Merge branch 'next' into embms_merge_final
2018-05-15 22:32:56 +02:00
yagoda
e4c3f0bc30
adding mbms-gw and mch generation tables
2018-05-15 17:27:10 +02:00
yagoda
ec918eab76
adding support for embms in common functions and interfaces
2018-05-15 16:50:57 +02:00
Andre Puschmann
a30ad8952c
fix indent and simplify auth request packing
2018-05-15 12:40:29 +02:00
Andre Puschmann
d0457211ad
adding support for CHAP auth
2018-05-15 12:40:29 +02:00
Andre Puschmann
51e093e611
Merge branch 'next' into rlc_updates
2018-05-11 15:55:03 +02:00
Ismael Gomez
040c33497d
merged PR#189 and added check for non-empty queue in get size tail
2018-05-10 21:32:32 -05:00
Ismael Gomez
4515dd94ea
Use blocking queue for RRC measurement fixes #193
2018-05-10 13:41:21 -05:00
Ismael Gomez
04609cd07d
Check msg_queue size_tail_bytes existence of buffer
2018-05-10 13:41:17 -05:00
Ismael Gomez
ba40a4de84
Add checks for when RLC TM queue is corrupted and reset it
2018-05-10 13:39:34 -05:00
Ismael Gomez
f3f4528a2f
Testing commit to force a Reestablishment 1s after CONNECT
2018-05-10 13:28:55 -05:00
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
2018-05-10 16:41:37 +02:00
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
2018-05-10 16:36:55 +02:00
Andre Puschmann
595ed70cae
Revert "Deallocate SCH pdu on demux instead of pdu_queue"
...
This reverts commit e9fcb10c9e
.
2018-05-08 21:41:33 +02:00
Andre Puschmann
05696a5ca7
Merge branch 'next' into rlc_updates
2018-05-04 14:13:50 +02:00
Ismael Gomez
e9fcb10c9e
Deallocate SCH pdu on demux instead of pdu_queue
2018-05-02 12:15:23 +02:00
Ismael Gomez
aa1724b8f3
Add missing-field-initializers flag and properly initialize structs
2018-04-29 17:55:19 +02:00
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 bf7467e82ec7b056ad06dc50cc964fcce18be99b.
* 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
2018-04-29 17:26:35 +02:00
Andre Puschmann
a2f6166365
Merge branch 'next' into rlc_updates
2018-04-27 15:03:17 +02:00
Andre Puschmann
d8bfd2713c
initialize byte_buffer content in ctors
2018-04-26 13:20:34 +02:00
Ismael Gomez
b237d6063e
Align header buffer to 8-byte boundary as expected by S1AP pack/unpack functions
2018-04-26 11:46:22 +02:00
Ismael Gomez
ab78eb6d58
Process BCCH from pdu_process thread. Process PCCH from new thread in RRC
2018-04-25 13:44:58 +02:00
Ismael Gomez
edd9cbf4dc
Merge branch 'next' into sync_states
2018-04-10 09:35:21 +02:00
Andre Puschmann
b298d3d3f9
add missing const keyword to log_filter's members
2018-04-04 11:19:52 +02:00
Andre Puschmann
e76fe75c22
add missing const keyword to log_filter's members
2018-04-03 12:18:07 +02:00
Andre Puschmann
61a24cbd4a
Merge branch 'next' into rlc_updates
2018-04-03 11:28:12 +02:00
Andre Puschmann
dd76f85313
Merge branch 'master' into next
2018-04-03 11:07:17 +02:00
Joseph Giovatto
802f8b716f
set msg and hex buf to const *
2018-04-03 10:50:48 +02:00
Joseph Giovatto
4e05266ea8
added printf format check for hex logs
2018-04-03 10:50:32 +02:00
Andre Puschmann
2dcd6695bc
remove obsolete config.h
2018-04-03 10:49:49 +02:00
David Rupprecht
9d71bec7b6
Unified include guards
2018-03-31 19:04:04 +02:00
Andre Puschmann
4ea5fe6509
Merge branch 'next' into rlc_updates
2018-03-29 20:59:08 +02:00
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.
2018-03-29 16:59:19 +02:00
Andre Puschmann
fffda82f1e
increase size of bytebuffer to compensate header, add helper to get remaining size
2018-03-28 16:50:11 +02:00
Andre Puschmann
e7c74fa0f7
add simple RLC PCAP writer
2018-03-28 10:45:59 +02:00
Andre Puschmann
7993385742
increase size of bytebuffer to compensate header, add helper to get remaining size
2018-03-28 10:45:59 +02:00
Ismael Gomez
b3be54b274
Attach and paging ok. Reselection on IDLE not working
2018-03-21 10:46:24 +01:00
Ismael Gomez
28e12dbf7d
Merge branch 'next' into sync_states
2018-03-20 14:36:31 +01: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
682ed433b2
Possible fix to #167
2018-03-18 13:24:09 +01:00
Ismael Gomez
64cc34adb0
previous commit not working
2018-03-15 11:31:09 +01:00
Ismael Gomez
d873eaca5c
Assign same timer id after release (was not really a bug)
2018-03-15 11:14:22 +01:00
Andre Puschmann
5335f046ff
dealloc mutex and cond in msg_queue
2018-03-08 22:04:58 +01:00
Andre Puschmann
43811e1886
deallocate used buffers in buffer_pool dtor
2018-03-08 22:04:58 +01:00
Andre Puschmann
9553784e2f
change phy_log in UE to log_filter
2018-03-08 22:04:58 +01:00
Andre Puschmann
853f774607
add threaded timeout test
2018-03-06 14:04:17 +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
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
Andre Puschmann
067d76a5c8
enable buffer pool log
2018-03-05 11:22:02 +01:00
Andre Puschmann
a85288566b
print summary about allocated buffers when buffer pool is full
2018-03-04 21:53:06 +01:00