nr_mod_table.h 1.56 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/*
 * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The OpenAirInterface Software Alliance licenses this file to You under
 * the OAI Public License, Version 1.1  (the "License"); you may not use this file
 * except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.openairinterface.org/?page_id=698
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *-------------------------------------------------------------------------------
 * For more information about the OpenAirInterface (OAI) Software Alliance:
 *      contact@openairinterface.org
 */

#ifndef __PHY_NR_REFSIG_NR_MOD_TABLE__H__
#define __PHY_NR_REFSIG_NR_MOD_TABLE__H__

Florian Kaltenberger's avatar
Florian Kaltenberger committed
25 26 27 28 29 30
#define NR_MOD_TABLE_SIZE_SHORT 686
#define NR_MOD_TABLE_BPSK_OFFSET 1
#define NR_MOD_TABLE_QPSK_OFFSET 3
#define NR_MOD_TABLE_QAM16_OFFSET 7
#define NR_MOD_TABLE_QAM64_OFFSET 23
#define NR_MOD_TABLE_QAM256_OFFSET 87
Sakthi's avatar
Sakthi committed
31 32

short nr_qpsk_mod_table[8];
33

34 35
int32_t nr_16qam_mod_table[16];
#if defined(__SSE2__)
36 37
__m128i nr_qpsk_byte_mod_table[2048];
#endif
Sakthivel Velumani's avatar
Sakthivel Velumani committed
38

39
int64_t nr_16qam_byte_mod_table[1024];
Sakthivel Velumani's avatar
Sakthivel Velumani committed
40

41
int64_t nr_64qam_mod_table[4096];
Sakthi's avatar
Sakthi committed
42 43

int32_t nr_256qam_mod_table[512];
44
#endif