hamnet70/impl/src/layer1/config.h

26 lines
713 B
C
Raw Normal View History

#ifndef LAYER1_CONFIG_H
#define LAYER1_CONFIG_H
#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
#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
#define PREAMBLE_MSEQ_M 6
#define PREAMBLE_MSEQ_POLY LIQUID_MSEQUENCE_GENPOLY_M6
#define PREAMBLE_MSEQ_INIT 0x00000001
#define RRC_SPS 4 // samples per symbol
#define RRC_DELAY 7 // delay in symbols
#define RRC_BETA 0.2f
#define TRANSMISSION_RAMP_UP_LEN 64 // symbols
#define TRANSMISSION_RAMP_DOWN_LEN 32 // symbols
#endif // LAYER1_CONFIG_H