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
7 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
7 years ago
Andre Puschmann
edfc9df77d
Merge branch 'master' into next
7 years ago
yagoda
a0fa2d5b01
small fix in eMBMS MAC
7 years ago
Andre Puschmann
47a8b1343f
add rwlock to PDCP
7 years ago
Andre Puschmann
ccf58a63ce
reduce default log-level to warning
7 years ago
Andre Puschmann
10469cd3a0
Merge branch 'master' of github.com:srsLTE/srsLTE
7 years ago
Andre Puschmann
f1c5835133
fix eNB default config help text
7 years ago
Andre Puschmann
be3b2fbc08
Merge pull request #239 from softwareradiosystems/epc_stacktrace
...
Epc stacktrace
7 years ago
Pedro Alvarez
597cf18b9d
Changing common/debug.h to crash_handler.h
7 years ago
Ismael Gomez
2d5cdc4f35
Add log to pool deallocate
7 years ago
Ismael Gomez
5474f6d55f
Add log to pool deallocate
7 years ago
Pedro Alvarez
c3ef88e112
Fixing conflicts with next.
7 years ago
Ismael Gomez
685b368df2
Fix compilation error in previous commit
7 years ago
Ismael Gomez
7df91e1283
Fix compilation error in previous commit
7 years ago
Ismael Gomez
08f7dda0f3
Consider the case of calling gtpu::add_bearer() before initialization
7 years ago
Ismael Gomez
d57bf0f786
Consider the case of calling gtpu::add_bearer() before initialization
7 years ago
Ismael Gomez
30dd539220
Add rwlock to sched class
7 years ago
Ismael Gomez
d95d0e2e7a
Fix issue #179 in master
7 years ago
Ismael Gomez
75e8df2e9f
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
7 years ago
Andre Puschmann
55b3b61ec1
Merge branch 'master' into next
7 years ago
Pedro Alvarez
7aaa9a1789
Moved srslte_debug_handle_crash to common/debug.c
7 years ago
Björn
23cc0ab011
enb: add bind address for s1ap connection ( #128 )
...
add s1c_bind_addr config option to specify the local bind address used for S1AP connections instead of using the GTP address.
This allows operation on setups with split S1U and S1C networks.
7 years ago
Ismael Gomez
881e278a10
Add rwlock to sched class
7 years ago
Ismael Gomez
7c7eed3ad1
Fix issue #179 in master
7 years ago
Ismael Gomez
1aa9951a04
Increased default inactivity timer to 60s
7 years ago
Ismael Gomez
2da9787907
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
7 years ago
Ismael Gomez
f394dc7aa6
Fix deadlock issue in rach_detect
7 years ago
Ismael Gomez
a2615628aa
Increase buffer pool size for enb
7 years ago
Ismael Gomez
efea8f4436
Set Dropped to debug level and reduce eNodeB RLC TX size
7 years ago
Pedro Alvarez
b460ece601
Merge branch 'mbms_tun' into next
7 years ago
Ismael Gomez
19ac35d933
Increased RLC UL buffer size
7 years ago
Ismael Gomez
cf5a6f0580
Increased PUCCH RLF threshold and default number of errors
7 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
7 years ago
Ismael Gomez
c32ee8944f
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
7 years ago
Ismael Gomez
a8f6081837
Minor changes in scheduler logs and style
7 years ago
Xavier Arteaga
92954c1aa4
Fixed UCI decoder defect in eNb. Improved PUSCH Unit Test. PUSCH CQI is printed like UE.
7 years ago
Pedro Alvarez
0e135adc6f
Starting to change gtpu_read_header and gtpu_write_header to lib.
7 years ago
Pedro Alvarez
27dbbcca02
Stripping GTPU in eNB's M1-U.
7 years ago
jctallon
50589108c6
Mbms fixes ( #225 )
...
* fixing the threading structure for mbms in the gtpu
fixing some leaks in pmch tests
fixing stack overflow caused by radio objext
* adding sib.conf.mbsfn.example
* creating a different thread_mch object for the gtpu
* Make mch_thread an isolated class
* excluding mbsfn subframes from noise estimation and cfo estimation
* fixing pdsch ue plotting to only show pmch constellation when mbsfn is activated.
7 years ago
Ismael Gomez
115244657f
Set GTPU socket to non-blocking
7 years ago
Ismael Gomez
a7574d288a
Set a reasonable default rs_power
7 years ago
Ismael Gomez
8c92f3fddc
Improvements and fixes on srsENB scheduler ( #228 )
7 years ago
Andre Puschmann
91e1b27219
Merge branch 'master' into next
7 years ago
Andre Puschmann
492958fdba
Merge pull request #209 from softwareradiosystems/minor_fix
...
some allocated buffers in the s1ap were not being correctly deallocated
7 years ago
Andre Puschmann
90bdb730ee
Merge branch 'est_cause' into next
7 years ago
Andre Puschmann
319f4f4ff2
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
7 years ago
Ismael Gomez
9d18349a08
Reduced uhd timeout
7 years ago
Andre Puschmann
064d7bd2dc
use original UE establishment cause in S1AP initial UE message
7 years ago
Andre Puschmann
b551c82f7b
fix bug in packing s1ap
7 years ago
yagoda
cca8362a69
adding mbsfn conditional to gtpu to create mch thread only if mbsfn is enabled
7 years ago
Ismael Gomez
3c276e7ae3
Wait to stop ENB/PHY worker
7 years ago
Ismael Gomez
2b9105791c
Changed default DRB config QCI 9 to AM
7 years ago
Ismael Gomez
56d3b9297e
Fix previous commit
7 years ago
Ismael Gomez
ca1ec9bb61
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
7 years ago
Ismael Gomez
9a5e29ccab
Added mutex to phch_common
7 years ago
Ismael Gomez
6120f20290
Changes in RRC and S1AP to make enb more robust on UE add/rem operations.
...
* Consolidated functions in S1AP
* Fixed ASAN in some GCC
* Stop quicker the enb
* Minor typo edit
* Fixed mutexing issues in RRC and possibly RLC/PDCP when adding/removing users
7 years ago
Ismael Gomez
cde432fbb6
Added mutex to RLC and PDCP eNodeB
7 years ago
Ismael Gomez
d7f6820d12
Reorder UE remove procedure to avoid mutex in RLC/PDCP
7 years ago
Francisco Paisana
4fd82f4bcb
some allocated buffers in the s1ap were not being correctly deallocated. sctp_sendmsg() blocks until the buffer is written to the socket, so it is ok to deallocate the buffer right after this call.
7 years ago
Ismael Gomez
ca529f96fc
Consider UL activity only when RLC PDU is present
7 years ago
Ismael Gomez
27a64b4d58
Decrease PUCCH threshold causing SR failure in bad SNR conditions
7 years ago
Ismael Gomez
13fc76a5ad
Minor PUSCH print error
7 years ago
Andre Puschmann
2c179dd84f
add config install helper
7 years ago
Ismael Gomez
67e90d5a9b
Code style: Use { } even in 1-line if
7 years ago
Ismael Gomez
95690a56ec
Fix indentation
7 years ago
Andre Puschmann
aa563b1555
copy example config files and if masq script to install folder
7 years ago
Andre Puschmann
36c650399b
rework app startup to search for config files in user's home directory
7 years ago
yagoda
54bdfd83ec
adding support for mbsfn subframe configuration to pdsch examples
7 years ago
Andre Puschmann
61d525ea80
Merge branch 'next' into embms_merge_final
7 years ago
Andre Puschmann
7c56a7d083
fix compiler warning
7 years ago
Francisco Paisana
c689343d81
Scheduler fix ( #200 )
...
* scheduler still not working with RGBs. The reservation of RGBs is not sufficient for the RAR allocation.
* now in the scheduler, we allocate space not only for pending data but also for headers and CE
* cant connect. going to check if it is an issue of the next branch
* cleaned up the interface
* removed obsolete functioN
* minor fix
* function name change
7 years ago
yagoda
65f2747a8e
removing mch handler in rlc, fixing embms autostart
7 years ago
Andre Puschmann
463b138026
remove debug printfs
7 years ago
yagoda
d0cb214725
fixing sheduling issues and merge errors
7 years ago
yagoda
0ae22e0822
fixing scheduling issues for mbms
7 years ago
Andre Puschmann
9ca2b89282
fixing compile warnings
7 years ago
yagoda
f286e12ceb
fix for mbms mac scheduling
7 years ago
yagoda
fac8bb7b7a
adding mbms-gw broadcast support, adding parameter for automatic mbms service start
7 years ago
yagoda
3e46e7fbab
minor change to reintroduce mbms sib config parsing
7 years ago
yagoda
e4c3f0bc30
adding mbms-gw and mch generation tables
7 years ago
yagoda
84f4996584
adding upper embms support to the enodeb
7 years ago
yagoda
08976bb948
introducing support for embms in the enodeb PHY
7 years ago
Ismael Gomez
1af24313e7
Release pending RAR if scheduler failed configuration
7 years ago
Andre Puschmann
b4a23d325a
cosmetic changes
7 years ago
Andre Puschmann
9a10f5f6d4
add buffer_pool printing option to eNB
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
Ismael Gomez
33f6a3513a
Merge pull request #173 from wangqiang1588/master
...
fix out of index error
7 years ago
Andre Puschmann
9230d111ce
use pool_allocate wrapper in srsENB's UE subclass in RRC
7 years ago
LongSky
9b6dc18b2c
fix out of index error
7 years ago
Andre Puschmann
5ecc145f14
Merge branch 'master' into next
7 years ago
David Rupprecht
977ed71848
enodeb print security key
7 years ago
Ismael Gomez
aa1724b8f3
Add missing-field-initializers flag and properly initialize structs
7 years ago
Ismael Gomez
62787bdd41
Remove unused include
7 years ago
Ismael Gomez
c17fbfcde1
Fixed buffer overflow in SIB generation
7 years ago
Ismael Gomez
ab78eb6d58
Process BCCH from pdu_process thread. Process PCCH from new thread in RRC
7 years ago
frankist
786d29962b
refactoring and improvement of time-domain RR scheduling ( #181 )
...
* fixed the scheduler not filling the mask for multiple UEs
* fixed a bug related with the reset of the allocations
* The RR now saves the last UE to be assigned
7 years ago
Pedro Alvarez
190015435b
Fixed some un-initialized variables in E-RAB Setup Response.
7 years ago
Francisco Paisana
c104c9e3c8
solved the small inconsistency with the drbid/lcid/erabid
7 years ago
Francisco Paisana
296d49f3eb
Now enb does not crash when the QCI is not invalid.
7 years ago
Francisco Paisana
f5b8343244
srsenb now prints an error message when the QCI is not valid
7 years ago
Andre Puschmann
319f473363
fix remaining printf warnings
7 years ago
Andre Puschmann
dd76f85313
Merge branch 'master' into next
7 years ago
Joseph Giovatto
4e05266ea8
added printf format check for hex logs
7 years ago
David Rupprecht
06d4559294
Change include path absolut to project dir
7 years ago
David Rupprecht
9d71bec7b6
Unified include guards
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
047f09062b
Merge branch 'master' into next
7 years ago
Andre Puschmann
ded550b793
remove unneeded boost includes
7 years ago
Andre Puschmann
bf25a5a05c
fix handling of log vector in eNB
7 years ago
Eric Schreiber
0ac766658a
Initialize the E_RABFailedToSetupListCtxtSURes_present and CriticalityDiagnostics_present members of the LIBLTE_S1AP_MESSAGE_INITIALCONTEXTSETUPRESPONSE_STRUCT to false
...
to prevent "[S1AP] [E] Failed to send InitialContextSetupResponse" errors. When these members are set to false the liblte_s1ap_pack_initialcontextsetupresponse
routine ignores the corresponding (uninitialized) structures when serializing the response pdu.
7 years ago
Pedro Alvarez
6e4720771f
Merge branch 'next' into epc
7 years ago
Ismael Gomez
fa4d14652d
Added mutex for ue_rem/buffer access for more safety
7 years ago
Ismael Gomez
45cae1d1ab
Fix srsENB DL TCP stalling
7 years ago
Ismael Gomez
2d9c101027
Check all DRB config parameters
7 years ago
Pedro Alvarez
c8dafa5410
Merging next into guti attach branch
7 years ago
Pedro Alvarez
1dd87e5113
Getting rid of boost::mutext on enb singleton class
7 years ago
Andre Puschmann
4575a9e610
add further checks for pool allocate return in srsENB and RLC UM/TM
7 years ago
Ismael Gomez
fd0c8168f0
Set to Continuous RX and TX
7 years ago
Xavier Arteaga
bf80a0a21b
Udated enb.config.example for TM1-4
7 years ago
Andre Puschmann
1daf7b04bc
add copyright header
7 years ago
Ismael Gomez
86818ad65f
Fix compilations warnings and remove printf debugs
7 years ago
Ismael Gomez
b5bda138f3
Merge branch 'next'
7 years ago
Ismael Gomez
9dab102a7e
Removed debug printf from enb scheduler
7 years ago
Ismael Gomez
be62b8a179
Fixed uninitialized sock
7 years ago
Ismael Gomez
2347fe0e6f
Fixed incorrect DCI location bug. Make all calls to regs/pdcch atomic w.r.t. the CFI
7 years ago
Andre Puschmann
e5a04844ec
more coverity fixes
7 years ago
Andre Puschmann
dfe430a584
Merge branch 'next'
7 years ago
Andre Puschmann
36a53b9cfc
fix coverity issue
7 years ago
Xavier Arteaga
20934a4f89
More COverity Fixes
7 years ago
Xavier Arteaga
99ef760b6f
More Coverity fixes
7 years ago
Andre Puschmann
eac2b6e43c
Merge branch 'next'
7 years ago
yagoda
2dcee59fb2
minor warning fix
7 years ago
yagoda
42040f7111
fixing conflicts
7 years ago
yagoda
ee1c8c292e
fixing coverity issues
7 years ago