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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
3751b149
Commit
3751b149
authored
Dec 09, 2021
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug #if versus #ifdef
parent
301a008c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
openair1/PHY/CODING/crc_byte.c
openair1/PHY/CODING/crc_byte.c
+4
-4
No files found.
openair1/PHY/CODING/crc_byte.c
View file @
3751b149
...
...
@@ -34,7 +34,7 @@
#include "coding_defs.h"
#include "assertions.h"
#if
def
USE_INTEL_CRC
#if USE_INTEL_CRC
#include "crc.h"
#endif
/*ref 36-212 v8.6.0 , pp 8-9 */
...
...
@@ -97,7 +97,7 @@ static unsigned short crc11Table[256];
static
unsigned
char
crc8Table
[
256
];
static
unsigned
char
crc6Table
[
256
];
#if
def
USE_INTEL_CRC
#if USE_INTEL_CRC
static
DECLARE_ALIGNED
(
struct
crc_pclmulqdq_ctx
lte_crc24a_pclmulqdq
,
16
)
=
{
0x64e4d700
,
/**< k1 */
0x2c8c9d00
,
/**< k2 */
...
...
@@ -133,7 +133,7 @@ void crcTableInit (void)
crc8Table
[
c
]
=
(
unsigned
char
)
(
crcbit
(
&
c
,
1
,
poly8
)
>>
24
);
crc6Table
[
c
]
=
(
unsigned
char
)
(
crcbit
(
&
c
,
1
,
poly6
)
>>
24
);
}
while
(
++
c
);
#if
def
USE_INTEL_CRC
#if USE_INTEL_CRC
crc_xmm_be_le_swap128
=
_mm_setr_epi32
(
0x0c0d0e0f
,
0x08090a0b
,
0x04050607
,
0x00010203
);
...
...
@@ -174,7 +174,7 @@ unsigned int crc24a (unsigned char * inptr,
}
#if
def
USE_INTEL_CRC
#if USE_INTEL_CRC
static
DECLARE_ALIGNED
(
struct
crc_pclmulqdq_ctx
lte_crc24b_pclmulqdq
,
16
)
=
{
0x80140500
,
/**< k1 */
0x42000100
,
/**< k2 */
...
...
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