2022-02-13 20:01:33 +01:00
|
|
|
#ifndef LAYER1_CONFIG_H
|
|
|
|
#define LAYER1_CONFIG_H
|
2021-10-17 19:26:38 +02:00
|
|
|
|
|
|
|
#include <liquid/liquid.h>
|
|
|
|
|
2022-02-12 21:58:53 +01:00
|
|
|
#define PAYLOAD_CHANNEL_CODE LIQUID_FEC_CONV_V27P34
|
|
|
|
#define PAYLOAD_MODULATION LIQUID_MODEM_QAM16
|
2021-10-17 19:26:38 +02:00
|
|
|
|
|
|
|
#define HEADER_CHANNEL_CODE LIQUID_FEC_NONE
|
|
|
|
#define HEADER_MODULATION LIQUID_MODEM_QPSK
|
|
|
|
|
2022-02-12 21:58:53 +01:00
|
|
|
#define PAYLOAD_CRC_SCHEME LIQUID_CRC_16
|
|
|
|
|
2021-10-17 19:26:38 +02:00
|
|
|
#define PREAMBLE_MSEQ_M 6
|
|
|
|
#define PREAMBLE_MSEQ_POLY LIQUID_MSEQUENCE_GENPOLY_M6
|
|
|
|
#define PREAMBLE_MSEQ_INIT 0x00000001
|
|
|
|
|
2022-01-29 22:05:17 +01:00
|
|
|
#define RRC_SPS 4 // samples per symbol
|
|
|
|
#define RRC_DELAY 7 // delay in symbols
|
|
|
|
#define RRC_BETA 0.2f
|
|
|
|
|
2022-01-30 20:23:41 +01:00
|
|
|
#define TRANSMISSION_RAMP_UP_LEN 64 // symbols
|
2022-01-29 22:05:17 +01:00
|
|
|
#define TRANSMISSION_RAMP_DOWN_LEN 32 // symbols
|
|
|
|
|
2022-02-13 20:01:33 +01:00
|
|
|
#endif // LAYER1_CONFIG_H
|