faluco
e9ed6f31ba
Port mac_pcap to srslog.
2021-02-03 14:15:27 +01:00
faluco
79eca0980d
- Ported fsm.h to srslog.
...
- Adapted and removed old loggers in tests and code that used fsm.h
2021-02-03 14:15:27 +01:00
faluco
c8a4bf2613
- Fix unused variable in buffer_pool.h
...
- Replaced logger to srslog in log_args utility function.
2021-02-03 14:15:27 +01:00
faluco
d37a07a47f
Replaced loggers in buffer_pool.h
2021-02-03 14:15:27 +01:00
faluco
f8485fb799
Replaced loggers to srslog in PNF and VNF classes.
2021-02-03 14:15:27 +01:00
faluco
96c07a69c0
Report the RLF event to the JSON event file in the enb.
2021-02-03 13:13:36 +01:00
Andre Puschmann
a827350f7c
mux: avoid unneeded call to msg3_flush() in ctor
...
this causes a debug log line as the first message in every ue.log because
the loggers/loglevels aren't configured yet.
22:10:02.463396 [MAC ] [D] [ 0] Msg3 buffer flushed
the msg3_flush isn't needed because all variables are initialized.
2021-02-03 10:24:32 +01:00
Andre Puschmann
ecf7eaec5c
ue_stack_lte: expose MAC NR interface for NSA configs
2021-02-03 10:23:18 +01:00
Andre Puschmann
5ec78be872
nas: log switch on/off in info mode
2021-02-03 09:55:26 +01:00
Francisco
ec14a6e50b
verify correctness of input to gtpu::write_pdu
2021-02-02 21:37:18 +00:00
Francisco
411946c752
Improvements on GTPU message logging
...
- Avoid multiple lines per each SDU Rx or Tx
- log info relative to source and destination of each SDU
- log info relative to whether the Rx SDU has been forwarded into a tunnel
- log info relative to whether the Rx SDUs are being buffered.
2021-02-02 21:37:18 +00:00
Andre Puschmann
5e915039e9
readme: add build-essential to Ubuntu build dependencies
...
otherwise only gcc will be available on a fresh Ubuntu
install (tested with 20.04), but g++ is missing.
This installs both.
2021-02-02 21:53:56 +01:00
Xavier Arteaga
aaa789f530
Removed unused logger
2021-02-02 15:23:14 +01:00
Xavier Arteaga
c60d207826
Add fix phase shift in gNb PHY
2021-02-02 15:23:14 +01:00
Xavier Arteaga
92c4a38fc2
Fix logger for NR PHY
2021-02-02 15:23:14 +01:00
Xavier Arteaga
194670a2a3
NRPHY: hard-coded symbol phase correction
2021-02-02 15:23:14 +01:00
Xavier Arteaga
820c9066db
Fix OFDM modulator for NR
2021-02-02 15:23:14 +01:00
Xavier Arteaga
2421f2cd99
Multiple PHY fixes and NR-PHY configuration refactor
2021-02-02 15:23:14 +01:00
Xavier Arteaga
7e6a35a9f7
Fix Synch error calculation
2021-02-02 15:23:14 +01:00
Xavier Arteaga
b652cd68a5
Refactored NR PHY configuration to accept multiple CORESETs/SearchSpaces
2021-02-02 15:23:14 +01:00
Xavier Arteaga
a85d79c6b7
Added ZMQ option to delay/advance Rx samples
2021-02-02 15:23:14 +01:00
Xavier Arteaga
73001c9541
Implement NR-DCI conversion to string
2021-02-02 15:23:14 +01:00
Xavier Arteaga
83a5ce96ed
Initial NR OFDM symbol size compatibility
2021-02-02 15:23:14 +01:00
Xavier Arteaga
10a7b63c6a
NR-UE PHY transmits PRACH in all oportunities
2021-02-02 15:23:14 +01:00
Andre Puschmann
df967d95b1
rrc_nr: extract new UE identity from RRC reconfig that tell MAC
...
required for contention-free RA on NR carrier
2021-02-02 14:13:25 +01:00
Andre Puschmann
f5c945dc2f
mac_nr: add interface to set C-RNTI and contention ID from RRC
...
used during contention-based/free RA
2021-02-02 14:13:25 +01:00
Francisco
cd68e604b0
fix s1ap UE find method
2021-02-01 22:27:49 +00:00
Francisco
2bde28252c
send UE capability indication through S1AP
2021-02-01 22:27:49 +00:00
Francisco
d64ce7df77
implementation of S1 E-RAB Release Indication and Error Indication messages
2021-02-01 22:27:49 +00:00
faluco
ac62e3c398
Fix the priority of logging levels in places where we before logging we check if a certain log level is enabled.
2021-02-01 20:18:55 +01:00
Andre Puschmann
cbedb65247
nas: log warning when NAS timer expires
...
this allows to let test cases fail based on warnings when
NAS events/actions timeout
2021-02-01 17:08:57 +01:00
herlesupreeth
47fff7226a
Send NAS PDU in E-RAB Release Command and issue RRCConnectionReconfiguration to UE
...
This commit addresses the following points
- If a NAS-PDU IE is contained in the E-RAB RELEASE COMMAND message, the eNB shall pass it to the UE.
- Issue RRCConnectionReconfiguration for the DRB to be removed
- Cleaning of DRB in RLC and GTP-U
- Fix for Malformed E-RAB Setup Response upon reaching max. DRBs
2021-02-01 14:31:24 +01:00
Andre Puschmann
dadb34f0ab
rrc: fix missing newline in console output
2021-02-01 14:26:49 +01:00
faluco
806268f6cf
Por asn1 code in lib directory to srslog ( #2253 )
...
* Match hex dump indentation with srslog.
* Port asn1 utils to use srslog. Converted logging functions from taking varargs to variadic template functions.
* Remove trailing new lines in log lines from asn1 utils.
* First round of upgrades to srslog to asn1 tests.
* Second round of porting asn1 tests to srslog.
2021-02-01 11:58:28 +01:00
Frederick Pelchat
fa1f9594cb
Fix Issue #615 Only first 8 bits of TAC passed by the ENB to the EPC
2021-02-01 10:44:20 +01:00
Andre Puschmann
1aadc5c53e
mac_nr: tiny cleanups of MAC class, use of new logger
2021-02-01 09:58:43 +01:00
Andre Puschmann
73cb0dabf2
mac_nr: move UE MAC class into own subfolder
...
this should simplify further MAC NR extensions and lead
to a more organized folder structure
2021-02-01 09:58:43 +01:00
Andre Puschmann
1a23b2f9bb
ue: don't show NR PDSCH constallation plot in normal EUTRA mode
...
only initialize NR PDSCH plot when nof NR worker is greater 0
2021-02-01 09:58:27 +01:00
Andre Puschmann
f88943653b
mac: implement MAC RAR PDU unpacking for NR
...
* add class for mac_rar_pdu_nr
* extend test case
2021-01-30 11:58:25 +01:00
Andre Puschmann
da9e3363f1
mac_pdu_nr: rename MAC PDU class for NR to adhere naming conventions
...
* mainly to have _nr as trailing name for filename and class
* also add "sch" to class and filename (RAR PDU will have extra class)
2021-01-30 11:58:25 +01:00
Xavier Arteaga
6b4a17dc66
Fix uninit condition
2021-01-30 11:57:49 +01:00
Francisco
2befbd1825
setup of forwarding tunnels during enb s1 handover
2021-01-29 18:46:11 +00:00
Francisco
ee3d8a5c77
fix gtpu_test memcpy param overlap bug
2021-01-29 17:22:58 +00:00
Francisco
b9271f26da
change naming from mme to sgw in gtpu_test
2021-01-29 17:22:58 +00:00
Francisco
e8f6a436af
update gtpu test to account for scenario of buffered PDCP SNs, and buffering of direct path until indirect tunnel is closed
2021-01-29 17:22:58 +00:00
Francisco
a55c4cdca5
avoid gtpu extension header pdcp number magic number
2021-01-29 17:22:58 +00:00
Francisco
56ec2c286e
add gtpu test for tunneling
2021-01-29 17:22:58 +00:00
Francisco
13649e4e19
Implement new GTPU functionality:
...
- multiple tunnels per E-RAB
- data forwarding between connected GTPU tunnels
- forwarding GTPU End Marker between connected tunnels
- TeNB GTPU handles in-sequence delivery when multiple tunnels for the same ERAB exist.
2021-01-29 17:22:58 +00:00
Pedro Alvarez
cb32cb4ed7
Changed clang-format to remove newline at beggening of block.
2021-01-29 17:57:00 +01:00
Andre Puschmann
cc750d96ee
nas: when receiving detach request, don't enter plmn_search automatically
...
this patch fixes an issue with TC_9_3_1_17 after the "send attach in RRC connected" issue
has been fixed. The TC failed because the UE would always attempt to re-attach, even
after receiving an explicit detach request WITHOUT re-attach from the network.
According to TS 24.301 Sec. 5.5.2.3.2 the handling of that message largely depends
on the detach cause sent by network. Since we don't currently parse and handle
that the simplest solution here is to just enter deregistered:::null.
The patch is also part of the fix for issue #2237
2021-01-29 17:49:46 +01:00