Andre Puschmann
571963b53d
update install config script to allow installation to /etc
6 years ago
Andre Puschmann
c88cc35fdf
try to load config files from /etc/srslte before checking users's home
6 years ago
Andre Puschmann
59435c2c34
add own cpuid helper to detect avx2 support
...
the cpuid.h version caused issues with older GCC 5.4
6 years ago
Pedro Alvarez
21e1573152
Clang-format style guide. ( #296 )
...
* Added initial clang-format style guide.
* Added Inline exception for single-line functions. Changed pointer alignment to left. Changed AlignConsecotiveDeclaration to true.
* Changed BreakTemplateDeclarations to true. Changed Standard to Cpp03
* Changed break after class, inheritance list breaks and constructor initializers list.
* Changed Case indentation to have space. Changed the options for inheritance lists / contructor initializer lists.
* Removed comment.
6 years ago
Andre Puschmann
96f057d34b
typo in phch_worker
6 years ago
Andre Puschmann
34f552fae9
add universal executable to select binary based on current ISA
...
- using cpuid to check x86 features
- using hwcap on ARM to check for NEON
6 years ago
Andre Puschmann
d7ab2b8d66
add stop_timers function to RRC and call it in rrc::stop()
...
- this solves an issue with shutting down RRC when the UE
just sent a connection request (and activated timer T300)
and stop was called.
6 years ago
Andre Puschmann
2bc4d70199
reset TA before sending PRACH ( fixes #285 )
...
as suggested by Xavier in phch_recv.cc
6 years ago
Andre Puschmann
d6196ba234
simplify RRC-NAS interface and only have msg as param (RRC selects LCID)
6 years ago
Andre Puschmann
c9857fe4ad
add handler for EMM status message
6 years ago
Andre Puschmann
e02ed62d02
update tx adv nsamples calibrated with UXM
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
946a50adf0
in UL MAC mux, allow multiple RLC PDUs for each LCID
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
Pedro Alvarez
e88e1bb4d2
Fixed TMSI packing length (was giving trouble with Xperia).
6 years ago
Andre Puschmann
bba2987eb0
print LCID when adding DRB
6 years ago
Andre Puschmann
e25d0f5d8a
fix Soapy deactivation during build if lib was found
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
553f8260bb
Fixing up logs and comments.
6 years ago
Pedro Alvarez
e3d7ccd7e1
Changed the way UL NAS count is obtained to generate K_enb in the UE. Incrementing UL NAS count on integrity protected dettach request.
6 years ago
Pedro Alvarez
dc727a192b
Changing way UL NAS count is used to generate the K_enb.
6 years ago
Pedro Alvarez
645bd60d75
More debug prints
6 years ago
Andre Puschmann
fb78cc2996
Adding some debug prints.
6 years ago
yagoda
b31538a0b9
small fix to interpolator to fix pmch test
6 years ago
Andre Puschmann
8ca73b9c4e
remove unused variable
6 years ago
yagoda
2acf282a8b
adding fixes to embms channel estimation
6 years ago
Pedro Alvarez
0320d475e9
Fix Uninitialized QoS options in attach accept.
6 years ago
yagoda
69dc16c4c8
changes to fix arm compilation
6 years ago
Andre Puschmann
398e271eee
add out-of-order test for RLC AM PDUs
6 years ago
Andre Puschmann
1ffd8d48ce
log warning when receiving unexpected RLC AM segment
6 years ago
Xavier Arteaga
8c3a0153b9
Added missing AVX512 intrinsics and flags. Fixes #291 .
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
cd7008a269
fix typo
6 years ago
Andre Puschmann
8a1368c8d6
send connection reject if MME isn't connected
6 years ago
Xavier Arteaga
56c01ba3ee
UE RRC Config from ue.conf overwritten in rrc:init. Fixes #293 .
6 years ago
Andre Puschmann
759ab6341d
fix access to possibly uninitialized variable in GW when receiving corrupted pkt
6 years ago
Andre Puschmann
f7bdfdc3a8
in NAS test, use real GW class in attach test
6 years ago
Andre Puschmann
0bd33bbae1
fix heap-overflow when extracting IPv6 address
6 years ago
Andre Puschmann
b71dab87f1
add function to query if RLC bearer exists (the implementation)
6 years ago
Andre Puschmann
95ac067b6b
send UL info transfer or SRB2 if it is established
6 years ago
Andre Puschmann
0af19b070c
add function to query if RLC bearer exists to UE interface
6 years ago
Andre Puschmann
f449067638
send detach request only integrity protected
6 years ago
Andre Puschmann
ae23cfbac7
send detach request in connection request if RRC is not connected
6 years ago
Andre Puschmann
94188c1d7a
set TMSI status field during GUTI attach
6 years ago
Andre Puschmann
0571720105
make LCID for UL_DCCH configurable
6 years ago
Andre Puschmann
1ed225a10b
add getter for IPv4 and IPv6 addresses
6 years ago