Quency Lin
797f8cec80
Refactor: Make qam64_qam64 more compact
...
Use local arrays and for-loop to replace duplicated statements.
For reference, here is the table of index v.s. old local variable
qam64 qam64
psi_r_, psi_i_, a_r_, a_i_, psi_a_, a_sq_, bit_met_
0 p7_p7 16 p3_p7 32 m1_p7 48 m5_p7
1 p7_p5 17 p3_p5 33 m1_p5 49 m5_p5
2 p7_p3 18 p3_p3 34 m1_p3 50 m5_p3
3 p7_p1 19 p3_p1 35 m1_p1 51 m5_p1
4 p7_m1 20 p3_m1 36 m1_m1 52 m5_m1
5 p7_m3 21 p3_m3 37 m1_m3 53 m5_m3
6 p7_m5 22 p3_m5 38 m1_m5 54 m5_m5
7 p7_m7 23 p3_m7 39 m1_m7 55 m5_m7
8 p5_p7 24 p1_p7 40 m3_p7 56 m7_p7
9 p5_p5 25 p1_p5 41 m3_p5 57 m7_p5
10 p5_p3 26 p1_p3 42 m3_p3 58 m7_p3
11 p5_p1 27 p1_p1 43 m3_p1 59 m7_p1
12 p5_m1 28 p1_m1 44 m3_m1 60 m7_m1
13 p5_m3 29 p1_m3 45 m3_m3 61 m7_m3
14 p5_m5 30 p1_m5 46 m3_m5 62 m7_m5
15 p5_m7 31 p1_m7 47 m3_m7 63 m7_m7
y0
0 y0_p_7_7 16 y0_p_3_7
1 y0_p_7_5 17 y0_p_3_5
2 y0_p_7_3 18 y0_p_3_3
3 y0_p_7_1 19 y0_p_3_1
4 y0_m_7_1 20 y0_m_3_1
5 y0_m_7_3 21 y0_m_3_3
6 y0_m_7_5 22 y0_m_3_5
7 y0_m_7_7 23 y0_m_3_7
8 y0_p_5_7 24 y0_p_1_7
9 y0_p_5_5 25 y0_p_1_5
10 y0_p_5_3 26 y0_p_1_3
11 y0_p_5_1 27 y0_p_1_1
12 y0_m_5_1 28 y0_m_1_1
13 y0_m_5_3 29 y0_m_1_3
14 y0_m_5_5 30 y0_m_1_5
15 y0_m_5_7 31 y0_m_1_7
rho_r
0 pi_7_7 16 pi_3_7
1 pi_7_5 17 pi_3_5
2 pi_7_3 18 pi_3_3
3 pi_7_1 19 pi_3_1
4 mi_7_1 20 mi_3_1
5 mi_7_3 21 mi_3_3
6 mi_7_5 22 mi_3_5
7 mi_7_7 23 mi_3_7
8 pi_5_7 24 pi_1_7
9 pi_5_5 25 pi_1_5
10 pi_5_3 26 pi_1_3
11 pi_5_1 27 pi_1_1
12 mi_5_1 28 mi_1_1
13 mi_5_3 29 mi_1_3
14 mi_5_5 30 mi_1_5
15 mi_5_7 31 mi_1_7
2023-10-03 22:03:40 +02:00
Quency Lin
465fc55e20
Refactor: Make qam16_qam16 more compact
...
Use local arrays and for-loop to replace duplicated statements.
For reference, here is the table of index v.s. old local variable
suffix.
0 p1_p1 0 rpi_1_1
1 p1_p3 1 rpi_1_3
2 p3_p1 2 rpi_3_1
3 p3_p3 3 rpi_3_3
4 p1_m1 4 rmi_1_1
5 p1_m3 5 rmi_1_3
6 p3_m1 6 rmi_3_1
7 p3_m3 7 rmi_3_3
8 m1_p1
9 m1_p3
10 m3_p1
11 m3_p3
12 m1_m1
13 m1_m3
14 m3_m1
15 m3_m3
2023-10-03 22:03:40 +02:00
Tsung-Yu Chan
526363dfad
fix / add the static for max_epi16
2023-10-03 22:03:40 +02:00
Quency
e241edf287
feat / SISO: Use 128/256 SIMDe for ARM64/x86
2023-10-03 22:03:40 +02:00
Quency
b46479889d
misc / Reorder inlines and add architecture guard
2023-10-03 21:32:55 +02:00
Quency
3ce1f6517d
fix / warnings in nr_ulsch_llr_computation.c
2023-10-03 21:32:55 +02:00
Quency
7e9968451f
feat / Turn #define into static inline functions
2023-10-03 21:32:55 +02:00
Quency
a7af689d50
feat / MIMO: Use 128/256 SIMDe for ARM64/x86
2023-10-03 21:32:55 +02:00
Robert Schmidt
0be397b238
Merge branch 'integration_2023_w39' into 'develop'
...
integration_2023_w39
See merge request oai/openairinterface5g!2363
* !2142 Fix packing/unpacking procedures for P7 messages
* !2253 Parallelize the Compensation, LLR, layer de-mapping, and unscrambling with symbol
* !2319 Fix NR UE init RA
* !2343 Reverse bits in UCI message when using polar encoding/decoding
* !2348 Resolve "SIGSEGV in nr-softmodem @ 100MHz on USRP"
* fix phytest-timing thresholds after merge of !2253
* !2320 Reduce ITTI log message volume when queues full
* !2360 nr rlc: minor: fix tests
* !2359 nr rlc am: bugfix: correct usage of tx_next
* !2356 Const return values
* !2357 Fix compile error when --build-e2 option included
* !2340 Resolve "gNB build on ubuntu 22.04 fails with dpkg error"
* !2362 Implement F1 bearer release and add telnet module
* !2324 Refactor gNB ULSCH decoding
* fix for SSB ARFCN in RRC MeasConfig
2023-10-03 12:20:45 +00:00
Robert Schmidt
f3910e7707
MeasConfig: give SSB ARFCN, not Point A
...
The UE should measure on the SSB, otherwise it does not see anything.
Hence, this commit fixes the meas-config to request the UE to measure
on the right frequency.
2023-10-03 11:19:09 +02:00
Robert Schmidt
280c987938
Merge remote-tracking branch 'origin/one-step-cleaning-gNB-ulsch-decoding' into integration_2023_w39
2023-10-03 09:35:18 +02:00
Robert Schmidt
2676e9a5bf
Merge remote-tracking branch 'origin/bearer-release' into integration_2023_w39
2023-10-03 07:49:39 +02:00
Robert Schmidt
e197671103
Merge remote-tracking branch 'origin/683-gnb-build-on-ubuntu-22-04-fails-with-dpkg-error' into integration_2023_w39
2023-10-03 07:49:07 +02:00
Robert Schmidt
e1461d95f3
Merge remote-tracking branch 'origin/compile_fix_e2_agent' into integration_2023_w39
2023-10-02 17:34:47 +02:00
Robert Schmidt
40fbe8b0cd
Merge remote-tracking branch 'origin/const_return_values' into integration_2023_w39
2023-10-02 17:34:41 +02:00
Robert Schmidt
73e8db7fb2
Merge remote-tracking branch 'origin/nr-rlc-fix-tx-next' into integration_2023_w39
2023-10-02 17:34:34 +02:00
Teodora
2eaac0351d
Fix compile error when --build-e2 option included
...
- modify byte_array.h in order to avoid conflict for same file names
2023-10-02 15:40:36 +02:00
Robert Schmidt
c6e9992e81
Make LCID output nicer
2023-10-02 14:57:03 +02:00
Robert Schmidt
6a7d7e1844
Telnet module to manually/release DRBs of UE
2023-10-02 14:57:03 +02:00
Robert Schmidt
203df298a8
Provide possibility to release DRBs in RRC
...
- Currently no fields to store DRB release: need persist in ASN
structure
- This will be revisited once there is E1 bearer release release
2023-10-02 14:57:03 +02:00
Robert Schmidt
3b936c9a50
Handle DRB release at MAC
2023-10-02 14:57:03 +02:00
Robert Schmidt
dc64ac3ab3
Rename nr_rlc_release_entity() for consistency
...
Most functions start with nr_rlc_*(), so do the same for release
2023-10-02 14:57:03 +02:00
Robert Schmidt
51862543e4
Rename to nr_pdcp_release_{d,s}rb() for consistency
...
Most functions start with nr_pdcp_*(), so do the same for release.
2023-10-02 14:57:03 +02:00
Robert Schmidt
67eadd4d53
Add newGtpuDeleteOneTunnel() to remove one GTP tunnel
2023-10-02 14:57:03 +02:00
Robert Schmidt
6a076c8490
F1 UE Context Modif Req: Implement DRB Release
...
- Add necessary fields to F1 message
- Add F1AP encoding/decoding of UE Ctxt Modif Req DRB Release
2023-10-02 14:57:03 +02:00
Robert Schmidt
03c8502e5e
Merge remote-tracking branch 'origin/nr-rlc-fix-tests' into integration_2023_w39
2023-10-02 14:21:30 +02:00
Robert Schmidt
48d2f999d7
Merge remote-tracking branch 'origin/improve-itti-log' into integration_2023_w39
2023-10-02 14:21:15 +02:00
Robert Schmidt
41ea99c5d1
Adapt timing thresholds after merge of !2253
2023-10-02 14:18:24 +02:00
mir
b07e9f32c4
Remove return const values
2023-10-02 14:15:42 +02:00
Laurent THOMAS
d448b5e549
remove 'B' from persisted data, replace 3824 hardcoded by it's existing define
2023-09-29 10:23:54 +02:00
Robert Schmidt
728d8027de
Merge remote-tracking branch 'origin/684-sigsegv-in-nr-softmodem-100mhz-on-usrp' into integration_2023_w39
2023-09-28 20:15:05 +02:00
Robert Schmidt
91c5bccc05
Merge remote-tracking branch 'origin/bugfix-uci-bit-extraction' into integration_2023_w39
2023-09-28 20:14:56 +02:00
Robert Schmidt
1bc08b652d
Merge remote-tracking branch 'origin/NR_fix_init_RA_UE' into integration_2023_w39
2023-09-28 20:14:47 +02:00
Robert Schmidt
58d497e8bb
Merge remote-tracking branch 'origin/pusch-llr-parallelize' into integration_2023_w39
2023-09-28 15:44:33 +02:00
Robert Schmidt
c4f3d6d7fe
ue_context_modification_request(): check if UE exists
2023-09-28 14:59:06 +02:00
Cedric Roux
8aea710a6c
nr rlc: minor: fix tests
...
delete() has changed its name
2023-09-28 10:52:55 +02:00
Cedric Roux
82e83bc6a6
nr rlc am: bugfix: correc usage of tx_next
...
tx_next was increased only when all segments of an SDU were sent to
lower layers. This may lead to a situation where the receive entity
transmits a control PDU that is rejected because it sets its ACK to
tx_next+1 (if all segments were not transmitted when the control PDU
is sent).
What is done now is to increase tx_next as soon as we send the first
segment of an SDU to lower layers. A control PDU received from the
receive entity is now accepted and processed.
Specifications (38.322 5.2.3.1.1) say to increase tx_next when the
RLC entity receives an SDU from upper layers. But for us, since the
buffering of SDUs is done in the RLC layer and since the buffer size
may be big, we may increase tx_next too much. The choice has been
made to increase it only when we transmit an SDU to lower layers.
We may change this logic if needed. (But it won't be simple.)
2023-09-28 10:40:11 +02:00
Rúben Soares da Silva
8e59ef77db
Fix Packing and Unpacking procedures for FAPI P7 messages
...
Creation and usage of packing/unpacking functions for DCI payload
Update Proxy commit id for CI
Apply formatting on changed functions and fix pull/push return value checking
2023-09-28 09:45:30 +02:00
luis_pereira87
dbdfe06d1e
Fix comment from 10% to 25%
2023-09-27 16:01:26 +01:00
luis_pereira87
cf36c6d893
Improvements to reduce ITTI log message volume when queues full
2023-09-27 15:59:08 +01:00
luis_pereira87
debd35a877
Apply function with better performance to reverse bits for polar encoder/decoder in PBCH
2023-09-27 08:30:06 +01:00
luis_pereira87
2360925e29
Reverse bits in UCI message when using polar encoder/decoder
2023-09-27 08:30:06 +01:00
luis_pereira87
58f6cb2af9
Implement function for reversing bits with better performance
2023-09-27 08:30:06 +01:00
Laurent THOMAS
7cb8988372
one-step-cleaning-gNB-ulsch-decoding
2023-09-25 15:22:08 +02:00
Laurent THOMAS
d19302fb40
revert last change
2023-09-25 15:21:21 +02:00
Laurent THOMAS
91497ece94
Reduce ITTI log verbosity
...
Only print messages when queue grows by 10%, and add log if message
queue size shrinks
2023-09-25 15:14:21 +02:00
Laurent THOMAS
fab0a3de3e
increase CI time to 'deploy'
2023-09-25 15:14:21 +02:00
Tsung Yu Chan
fc2432e93b
chore / simplify the code and add the comment
...
- simplify the buffer alignment
- add the comment for llr
- clean unused variable
2023-09-25 12:48:28 +02:00
Tsung Yu Chan
0263b4a807
chore / remove the unused variable
2023-09-25 12:48:28 +02:00
Tsung Yu Chan
5231a3ab74
fix / fix the transfrom precoding error when qpsk
...
- avoid the nr_freq_equalization when qpsk
- do the stop_meas when use the lepc offload
2023-09-25 12:48:28 +02:00