faluco
62faef7c71
- Replaced all uses of the log::console method.
2020-09-29 17:38:13 +02:00
faluco
302f9793ca
- Add common utils to print to stdout and stderr as a first step to remove the log::console method.
2020-09-29 17:38:13 +02:00
Andre Puschmann
58ce9d3959
pdcp: adding basic test to check if control PDUs are handled correctly
...
use a 3 B long status PDU to check if its dropped from the rx'ing entity
2020-09-29 15:29:04 +02:00
Andre Puschmann
795db30338
pdcp: drop PDCP control PDUs
...
this patch adds a check to drop all PDCP control PDUs
in order to prevent handling them as data PDUs.
This could happen when the size exceeded the arbitrary length check.
This should fix #1787
2020-09-29 15:29:04 +02:00
Francisco Paisana
b3eb9651d6
disable cqi in scells during handover procedure
2020-09-29 12:10:42 +01:00
Ismael Gomez
f4c7021a5f
Appy phy configuration to current_phy_cfg before sending to PHY after HO
2020-09-29 12:10:42 +01:00
Francisco Paisana
8a9a95a937
ensure sibs are acquired if cell selection calls cell search
2020-09-29 11:06:32 +01:00
Francisco Paisana
af3ff5985e
removal of console print of last selected cell during the cell selection procedure.
2020-09-29 09:38:05 +01:00
Francisco Paisana
c33e94fede
fix conformace 8_5_1_1 failure
2020-09-28 23:45:13 +01:00
Francisco Paisana
045f647914
fix edge case where serving cell is good enough for reestablishment but the sibs are not yet acquired
2020-09-28 23:45:13 +01:00
Andre Puschmann
f32d9f8322
ttcn3: call stop in UE dtor
...
fixes stop issue of TTCN3 DUT
2020-09-28 22:04:23 +02:00
Ismael Gomez
d671e39c93
Fix SINR not correctly considering noise. Missed dBm conversion
2020-09-28 20:50:12 +02:00
Francisco Paisana
5ecbe8fb17
cleanup of the reestablishment procedure state machine. It does not need to wait for the serving cell configuration because such procedure is already included in the cell selection procedure
2020-09-28 18:39:28 +01:00
Pedro Alvarez
b3bfe336a9
Make sure that remote address test has a ip mask
2020-09-28 16:08:28 +02:00
Sylvain Munaut
6ce5863f03
test/tft_test: Add a combined test for IPv6 packets
2020-09-28 16:08:28 +02:00
Sylvain Munaut
9ba8b62972
test/tft_test: Update filter test suite
...
The “IPv4 local address type” filter should be 9 bytes since it includes
not only the ip address, but also its subnet mask.
Quoting from 3GPP TS 24.008 10.5.6.12:
"""
For "IPv4 remote address type", the packet filter component value field
shall be encoded as a sequence of a four octet IPv4 address field and a
four octet IPv4 address mask field. The IPv4 address field shall be
transmitted first. For "IPv4 local address type", the packet filter
component value field shall be encoded as defined for "IPv4 remote
address type".
"""
Same for the ToS which also includes a 1 byte mask value
2020-09-28 16:08:28 +02:00
Sylvain Munaut
5783c01cbb
tf_packet_filter: Improve support for the different filter types
2020-09-28 16:08:28 +02:00
Sylvain Munaut
2890bd07ea
liblte_mme.h: Adjust LIBLTE_MME_PACKET_FILTER_MAX_SIZE for IPv6
...
Original was 20 but TS 24.008, section 10.5.6.12 specifies a max
of 60 for ipv6 packet filter
2020-09-28 16:08:28 +02:00
Ismael Gomez
bb691f0cbe
Fix priority order in BSR trigger. Was not being triggered if SRB2 data was pending in the buffer ( #1771 )
2020-09-25 21:02:06 +02:00
Francisco Paisana
942c28881d
converted member method of list of cells in the enb to a free function
2020-09-25 15:03:58 +01:00
Francisco Paisana
3a924a1d80
avoid sending cellsToAddModList if cell offsets are zero
2020-09-25 15:03:58 +01:00
Francisco Paisana
da70c0fdaf
fix cellsToAddModList handling. Now the eNB always adds PCell+SCells as measObjects in the RRC Reconfiguration messages. It may also further include cellsToAddModList if they are provided in the rr.conf file
2020-09-25 15:03:58 +01:00
Ismael Gomez
8c30822350
Fix bug in update_measurements() not reporting in_sync in single carrier
2020-09-25 15:39:15 +02:00
Francisco Paisana
0997daa7a0
now the handover procedure in the srsUE does not wait for the phy cell selection result. It only waits for the RA result
2020-09-25 13:03:50 +01:00
Xavier Arteaga
d375e305ec
Initial NR DMRS for PDSCH
2020-09-25 11:28:04 +02:00
Ismael Gomez
c75c463263
Use SNR instead of SINR for RLF threshold ( #1769 )
...
* Use SNR instead of SINR for RLF threshold
* Send in/out-sync only for cc_idx=0
2020-09-24 22:26:05 +02:00
Ismael Gomez
76bfc78147
Fix issues with Sounding-RS ( #1761 )
...
* Fix deadlock caused by update_measurements calling in_sync
* Fix overlapping SRS condition
* Do not use shortened PUSCH in transmissions and retx from RAR
* Revert "Fix deadlock caused by update_measurements calling in_sync"
This reverts commit f58c8c8c766f8f95baa3a3bf8287d8e25b2057ba.
2020-09-24 22:25:24 +02:00
Francisco Paisana
2d321231df
fix reest proc. The reest proc state has to be set before launching the procedure, because the procedure can complete immediately on launch call
2020-09-24 14:00:31 +01:00
Pedro Alvarez
86f4d469c6
Added some functions to save and restore AS keys for the case of failed handover in the USIM
2020-09-24 13:30:08 +01:00
Francisco Paisana
81ab4c1a65
make sure ho procedure waits for t304 expiry in all cases
2020-09-24 10:19:13 +01:00
Francisco Paisana
89eeb5a355
use utility methods to find meas objs based on earfcn
2020-09-24 09:52:09 +01:00
Francisco Paisana
141960fbda
remove unnecessary shared_ptrs and use value semantics instead for the var_meas_cfg of the different enb cells
2020-09-24 09:52:09 +01:00
Ismael Gomez
b94d24ed98
Take into account CRS from neigbhour cells when measuring interference ( #1757 )
...
* Take into account CRS from neigbhour cells when measuring interference
* fix std::isnormal compilation
* Fixed compilation of test
* Address comments
* Remove unused overrides
2020-09-23 21:46:03 +02:00
Francisco Paisana
098172c911
fix cellIndex assignment in srsENB to not necessarily copy cell ID
2020-09-23 18:00:09 +01:00
Francisco Paisana
cf89d6645b
add comments explaining each function of the reest procedure
2020-09-23 14:59:38 +01:00
Francisco Paisana
d068d594af
implemented rrc reestablishment procedure part after sending reest request
2020-09-23 14:59:38 +01:00
Francisco Paisana
7d6c9a1751
Add cause and cell pci to reestablishment console message
2020-09-23 14:59:38 +01:00
Francisco Paisana
73e21daeb2
refactor reestablishment procedure to more closely follow TS.
2020-09-23 14:59:38 +01:00
Andre Puschmann
b2576b34b9
enb.conf.example: comment PUSCH MCS limit in example
2020-09-23 14:54:35 +02:00
Xavier Arteaga
236ef4378d
Fix u32 parsing
2020-09-23 14:16:52 +02:00
Xavier Arteaga
ede58319ae
Vector: added conjugate complex float to short
2020-09-23 09:06:03 +02:00
Xavier Arteaga
8566cbb079
Added device name to prach_test_usrp
2020-09-23 09:06:03 +02:00
Xavier Arteaga
60d563aa06
Fix ringbuffer read conversion
2020-09-23 09:06:03 +02:00
Xavier Arteaga
eb5210dbda
Radio stops Rx stream prior to stop and benchmark prompts RF metrics
2020-09-23 09:06:03 +02:00
Xavier Arteaga
de0501cc55
Fix radio benchmark
2020-09-23 09:06:03 +02:00
Xavier Arteaga
c20d4ff5cc
Added ringbuffer zerocopy a timeout
2020-09-23 09:06:03 +02:00
Xavier Arteaga
759719ad55
Improved RF helper
2020-09-23 09:06:03 +02:00
Andre Puschmann
1afc137032
[REBASE] Make PHY non-blocking and fefactor HO procedure ( #1753 )
...
* Make PHY non-blocking and fefactor HO procedure
* makes entire PHY non-blocking through command interface
* adds dedicated queue for cell_search/cell_select commands
* refactor HO procedure to run faster, in one stack cycle. Looks closer to the specs
* force ue to always apply SIB2 configuration during reestablishment
* Run update_measurements in all workers
Co-authored-by: Ismael Gomez <ismagom@gmail.com>
2020-09-22 21:47:16 +02:00
Ismael Gomez
399b986d0b
Fix deadlock caused by update_measurements calling in_sync ( #1760 )
2020-09-22 18:25:12 +02:00
Francisco Paisana
eb370642ab
verify cell selection observer is set before calling it
2020-09-22 17:09:18 +01:00