Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
littleBu
OpenXG-RAN
Commits
e7e01f75
Commit
e7e01f75
authored
Jan 16, 2025
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unsed LUT
parent
e0549de9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
39 deletions
+3
-39
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+1
-1
openair1/PHY/INIT/nr_init_ue.c
openair1/PHY/INIT/nr_init_ue.c
+1
-1
openair1/PHY/NR_REFSIG/nr_refsig.h
openair1/PHY/NR_REFSIG/nr_refsig.h
+1
-3
openair1/PHY/NR_REFSIG/scrambling_luts.c
openair1/PHY/NR_REFSIG/scrambling_luts.c
+0
-34
No files found.
openair1/PHY/INIT/nr_init.c
View file @
e7e01f75
...
...
@@ -128,7 +128,7 @@ void phy_init_nr_gNB(PHY_VARS_gNB *gNB)
load_dftslib
();
crcTableInit
();
init_
scrambling_luts
();
init_
byte2m128i
();
init_pucch2_luts
();
nr_init_fde
();
// Init array for frequency equalization of transform precoding of PUSCH
...
...
openair1/PHY/INIT/nr_init_ue.c
View file @
e7e01f75
...
...
@@ -515,7 +515,7 @@ void phy_init_nr_top(PHY_VARS_NR_UE *ue) {
NR_DL_FRAME_PARMS
*
frame_parms
=
&
ue
->
frame_parms
;
init_delay_table
(
frame_parms
->
ofdm_symbol_size
,
MAX_DELAY_COMP
,
NR_MAX_OFDM_SYMBOL_SIZE
,
frame_parms
->
delay_table
);
crcTableInit
();
init_
scrambling_luts
();
init_
byte2m128i
();
load_dftslib
();
init_context_synchro_nr
(
frame_parms
);
generate_ul_reference_signal_sequences
(
SHRT_MAX
);
...
...
openair1/PHY/NR_REFSIG/nr_refsig.h
View file @
e7e01f75
...
...
@@ -44,12 +44,10 @@ void nr_generate_csi_rs(const NR_DL_FRAME_PARMS *frame_parms,
const
nfapi_nr_dl_tti_csi_rs_pdu_rel15_t
*
csi_params
,
const
int
slot
,
const
csi_mapping_parms_t
*
phy_csi_parms
);
void
init_byte2m128i
(
void
);
void
init_scrambling_luts
(
void
);
void
nr_generate_modulation_table
(
void
);
extern
simde__m64
byte2m64_re
[
256
];
extern
simde__m64
byte2m64_im
[
256
];
extern
simde__m128i
byte2m128i
[
256
];
int
nr_pusch_lowpaprtype1_dmrs_rx
(
PHY_VARS_gNB
*
gNB
,
...
...
openair1/PHY/NR_REFSIG/scrambling_luts.c
View file @
e7e01f75
...
...
@@ -22,40 +22,13 @@
/* Lookup tables for 3GPP scrambling/unscrambling */
/* Author R. Knopp / EURECOM / OpenAirInterface.org */
#ifndef __SCRAMBLING_LUTS__C__
#define __SCRAMBLING_LUTS__C__
#include "PHY/impl_defs_nr.h"
#include "PHY/sse_intrin.h"
#include <common/utils/LOG/log.h>
simde__m64
byte2m64_re
[
256
];
simde__m64
byte2m64_im
[
256
];
simde__m128i
byte2m128i
[
256
];
void
init_byte2m64
(
void
)
{
for
(
int
s
=
0
;
s
<
256
;
s
++
)
{
byte2m64_re
[
s
]
=
simde_mm_insert_pi16
(
byte2m64_re
[
s
],(
1
-
2
*
(
s
&
1
)),
0
);
byte2m64_im
[
s
]
=
simde_mm_insert_pi16
(
byte2m64_im
[
s
],(
1
-
2
*
((
s
>>
1
)
&
1
)),
0
);
byte2m64_re
[
s
]
=
simde_mm_insert_pi16
(
byte2m64_re
[
s
],(
1
-
2
*
((
s
>>
2
)
&
1
)),
1
);
byte2m64_im
[
s
]
=
simde_mm_insert_pi16
(
byte2m64_im
[
s
],(
1
-
2
*
((
s
>>
3
)
&
1
)),
1
);
byte2m64_re
[
s
]
=
simde_mm_insert_pi16
(
byte2m64_re
[
s
],(
1
-
2
*
((
s
>>
4
)
&
1
)),
2
);
byte2m64_im
[
s
]
=
simde_mm_insert_pi16
(
byte2m64_im
[
s
],(
1
-
2
*
((
s
>>
5
)
&
1
)),
2
);
byte2m64_re
[
s
]
=
simde_mm_insert_pi16
(
byte2m64_re
[
s
],(
1
-
2
*
((
s
>>
6
)
&
1
)),
3
);
byte2m64_im
[
s
]
=
simde_mm_insert_pi16
(
byte2m64_im
[
s
],(
1
-
2
*
((
s
>>
7
)
&
1
)),
3
);
LOG_T
(
PHY
,
"init_scrambling_luts: s %x (%d) ((%d,%d),(%d,%d),(%d,%d),(%d,%d))
\n
"
,
((
uint16_t
*
)
&
s
)[
0
],
(
1
-
2
*
(
s
&
1
)),
((
int16_t
*
)
&
byte2m64_re
[
s
])[
0
],((
int16_t
*
)
&
byte2m64_im
[
s
])[
0
],
((
int16_t
*
)
&
byte2m64_re
[
s
])[
1
],((
int16_t
*
)
&
byte2m64_im
[
s
])[
1
],
((
int16_t
*
)
&
byte2m64_re
[
s
])[
2
],((
int16_t
*
)
&
byte2m64_im
[
s
])[
2
],
((
int16_t
*
)
&
byte2m64_re
[
s
])[
3
],((
int16_t
*
)
&
byte2m64_im
[
s
])[
3
]);
}
}
void
init_byte2m128i
(
void
)
{
for
(
int
s
=
0
;
s
<
256
;
s
++
)
{
...
...
@@ -70,10 +43,3 @@ void init_byte2m128i(void) {
}
}
void
init_scrambling_luts
(
void
)
{
init_byte2m64
();
init_byte2m128i
();
}
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment