#include <mkl.h>
#include <array>
#include <cstddef>
#include <map>
#include <string>
Go to the source code of this file.
|
enum | Direction : int { Direction::kDownlink,
Direction::kUplink
} |
|
enum | EventType : int {
EventType::kPacketRX,
EventType::kFFT,
EventType::kBeam,
EventType::kDemul,
EventType::kIFFT,
EventType::kPrecode,
EventType::kPacketTX,
EventType::kPacketPilotTX,
EventType::kDecode,
EventType::kEncode,
EventType::kModul,
EventType::kPacketFromMac,
EventType::kPacketToMac,
EventType::kFFTPilot,
EventType::kSNRReport,
EventType::kRANUpdate,
EventType::kRBIndicator,
EventType::kThreadTermination
} |
|
enum | DoerType : size_t {
DoerType::kFFT,
DoerType::kCSI,
DoerType::kBeam,
DoerType::kDemul,
DoerType::kDecode,
DoerType::kEncode,
DoerType::kIFFT,
DoerType::kPrecode,
DoerType::kRC
} |
|
enum | PrintType : int {
PrintType::kPacketRXPilots,
PrintType::kPacketRX,
PrintType::kFFTPilots,
PrintType::kFFTData,
PrintType::kFFTCal,
PrintType::kBeam,
PrintType::kDemul,
PrintType::kIFFT,
PrintType::kPrecode,
PrintType::kPacketTXFirst,
PrintType::kPacketTX,
PrintType::kDecode,
PrintType::kEncode,
PrintType::kRC,
PrintType::kPacketFromMac,
PrintType::kPacketToMac,
PrintType::kModul
} |
|
enum | ScheduleProcessingFlags : uint8_t { kNone = 0,
kUplinkComplete = 0x1,
kDownlinkComplete = 0x2,
kProcessingComplete = (kUplinkComplete + kDownlinkComplete)
} |
|
enum | ThreadType {
ThreadType::kMaster,
ThreadType::kWorker,
ThreadType::kWorkerFFT,
ThreadType::kWorkerBeam,
ThreadType::kWorkerDemul,
ThreadType::kWorkerDecode,
ThreadType::kWorkerRX,
ThreadType::kWorkerTX,
ThreadType::kWorkerTXRX,
ThreadType::kWorkerMacTXRX,
ThreadType::kMasterRX,
ThreadType::kMasterTX,
ThreadType::kRecorderWorker
} |
|
enum | SymbolType {
SymbolType::kBeacon,
SymbolType::kUL,
SymbolType::kDL,
SymbolType::kPilot,
SymbolType::kCalDL,
SymbolType::kCalUL,
SymbolType::kGuard,
SymbolType::kUnknown
} |
|
enum | SubcarrierType { SubcarrierType::kNull,
SubcarrierType::kDMRS,
SubcarrierType::kData
} |
|
◆ BIGSTATION
◆ ENABLE_RB_IND
#define ENABLE_RB_IND (0) |
◆ EXPORT
◆ SETTLE_TIME_MS
#define SETTLE_TIME_MS (1) |
◆ STRINGIFY
#define STRINGIFY |
( |
|
x | ) |
#x |
◆ TOSTRING
◆ TX_FRAME_DELTA
#define TX_FRAME_DELTA (4) |
◆ Direction
Enumerator |
---|
kDownlink | |
kUplink | |
◆ DoerType
Enumerator |
---|
kFFT | |
kCSI | |
kBeam | |
kDemul | |
kDecode | |
kEncode | |
kIFFT | |
kPrecode | |
kRC | |
◆ EventType
- Todo:
- Merge EventType and DoerType into WorkType
Enumerator |
---|
kPacketRX | |
kFFT | |
kBeam | |
kDemul | |
kIFFT | |
kPrecode | |
kPacketTX | |
kPacketPilotTX | |
kDecode | |
kEncode | |
kModul | |
kPacketFromMac | |
kPacketToMac | |
kFFTPilot | |
kSNRReport | |
kRANUpdate | |
kRBIndicator | |
kThreadTermination | |
◆ PrintType
Enumerator |
---|
kPacketRXPilots | |
kPacketRX | |
kFFTPilots | |
kFFTData | |
kFFTCal | |
kBeam | |
kDemul | |
kIFFT | |
kPrecode | |
kPacketTXFirst | |
kPacketTX | |
kDecode | |
kEncode | |
kRC | |
kPacketFromMac | |
kPacketToMac | |
kModul | |
◆ ScheduleProcessingFlags
Enumerator |
---|
kNone | |
kUplinkComplete | |
kDownlinkComplete | |
kProcessingComplete | |
◆ SubcarrierType
Enumerator |
---|
kNull | |
kDMRS | |
kData | |
◆ SymbolType
Enumerator |
---|
kBeacon | |
kUL | |
kDL | |
kPilot | |
kCalDL | |
kCalUL | |
kGuard | |
kUnknown | |
◆ ThreadType
Enumerator |
---|
kMaster | |
kWorker | |
kWorkerFFT | |
kWorkerBeam | |
kWorkerDemul | |
kWorkerDecode | |
kWorkerRX | |
kWorkerTX | |
kWorkerTXRX | |
kWorkerMacTXRX | |
kMasterRX | |
kMasterTX | |
kRecorderWorker | |
◆ IsPowerOfTwo()
template<typename T >
static constexpr bool IsPowerOfTwo |
( |
T |
x | ) |
|
|
inlinestaticconstexpr |
Return true at compile time iff a constant is a power of two.
◆ ThreadTypeStr()
static std::string ThreadTypeStr |
( |
ThreadType |
thread_type | ) |
|
|
inlinestatic |
◆ kAllDoerTypes
◆ kCalibScGroupSize
constexpr size_t kCalibScGroupSize = 8 |
|
staticconstexpr |
◆ kCollectPhyStats
constexpr bool kCollectPhyStats = true |
|
staticconstexpr |
◆ kDebug12BitIQ
constexpr bool kDebug12BitIQ = false |
|
staticconstexpr |
◆ kDebugDownlink
constexpr bool kDebugDownlink = false |
|
staticconstexpr |
◆ kDebugMulticell
constexpr bool kDebugMulticell = false |
|
staticconstexpr |
◆ kDebugPrintInTask
constexpr bool kDebugPrintInTask = false |
|
staticconstexpr |
◆ kDebugPrintPerFrameDone
constexpr bool kDebugPrintPerFrameDone = true |
|
staticconstexpr |
◆ kDebugPrintPerFrameStart
constexpr bool kDebugPrintPerFrameStart = true |
|
staticconstexpr |
◆ kDebugPrintPerSymbolDone
constexpr bool kDebugPrintPerSymbolDone = false |
|
staticconstexpr |
◆ kDebugPrintPerTaskDone
constexpr bool kDebugPrintPerTaskDone = false |
|
staticconstexpr |
◆ kDebugPrintPilot
constexpr bool kDebugPrintPilot = false |
|
staticconstexpr |
Print the I/Q samples in the pilots.
◆ kDebugPrintStatsPerThread
constexpr bool kDebugPrintStatsPerThread = false |
|
staticconstexpr |
◆ kDebugRadioRX
constexpr bool kDebugRadioRX = false |
|
staticconstexpr |
◆ kDebugRadioTX
constexpr bool kDebugRadioTX = false |
|
staticconstexpr |
◆ kDebugSenderReceiver
constexpr bool kDebugSenderReceiver = false |
|
staticconstexpr |
◆ kDebugTxData
constexpr bool kDebugTxData = false |
|
staticconstexpr |
◆ kDebugUplink
constexpr bool kDebugUplink = false |
|
staticconstexpr |
◆ kDefaultMessageQueueSize
constexpr size_t kDefaultMessageQueueSize = 512 |
|
staticconstexpr |
◆ kDefaultWorkerQueueSize
constexpr size_t kDefaultWorkerQueueSize = 256 |
|
staticconstexpr |
◆ kDequeueBulkSizeTXRX
constexpr size_t kDequeueBulkSizeTXRX = 8 |
|
staticconstexpr |
◆ kDequeueBulkSizeWorker
constexpr size_t kDequeueBulkSizeWorker = 4 |
|
staticconstexpr |
◆ kDoerNames
const std::map<DoerType, std::string> kDoerNames |
|
static |
◆ kDownlinkHardDemod
constexpr bool kDownlinkHardDemod = false |
|
staticconstexpr |
◆ kEnableCoreReuse
constexpr bool kEnableCoreReuse = false |
|
staticconstexpr |
◆ kEnableCsvLog
constexpr bool kEnableCsvLog = false |
|
staticconstexpr |
◆ kEnableMac
constexpr bool kEnableMac = false |
|
staticconstexpr |
◆ kEnableMatLog
constexpr bool kEnableMatLog = false |
|
staticconstexpr |
◆ kEnableThreadPinning
constexpr bool kEnableThreadPinning = true |
|
staticconstexpr |
◆ kExportConstellation
constexpr bool kExportConstellation = false |
|
staticconstexpr |
◆ kFrameWnd
constexpr size_t kFrameWnd = 40 |
|
staticconstexpr |
◆ kIsWorkerTimingEnabled
constexpr bool kIsWorkerTimingEnabled = true |
|
staticconstexpr |
◆ kLogMacPackets
constexpr bool kLogMacPackets = false |
|
staticconstexpr |
◆ kMacBaseClientPort
constexpr size_t kMacBaseClientPort = 7070 |
|
staticconstexpr |
- Todo:
- need to generalize for hostname, port pairs for each client
◆ kMacBaseLocalPort
constexpr size_t kMacBaseLocalPort = 8180 |
|
staticconstexpr |
◆ kMacBaseRemotePort
constexpr size_t kMacBaseRemotePort = 8080 |
|
staticconstexpr |
◆ kMacRemoteHostname
constexpr char kMacRemoteHostname[] = "127.0.0.1" |
|
staticconstexpr |
◆ kMacUserLocalPort
constexpr size_t kMacUserLocalPort = 9170 |
|
staticconstexpr |
◆ kMacUserRemotePort
constexpr size_t kMacUserRemotePort = 9070 |
|
staticconstexpr |
◆ kMaxAntennas
constexpr size_t kMaxAntennas = 64 |
|
staticconstexpr |
◆ kMaxChannels
constexpr size_t kMaxChannels = 2 |
|
staticconstexpr |
◆ kMaxDataSCs
constexpr size_t kMaxDataSCs = 3300 |
|
staticconstexpr |
◆ kMaxModType
constexpr size_t kMaxModType = 8 |
|
staticconstexpr |
◆ kMaxStatsBreakdown
constexpr size_t kMaxStatsBreakdown = 4 |
|
staticconstexpr |
◆ kMaxSymbols
constexpr size_t kMaxSymbols = 70 |
|
staticconstexpr |
◆ kMaxThreads
constexpr size_t kMaxThreads = 128 |
|
staticconstexpr |
◆ kMaxUEs
constexpr size_t kMaxUEs = 64 |
|
staticconstexpr |
◆ kNumDoerTypes
◆ kNumEventTypes
constexpr size_t kNumEventTypes |
|
staticconstexpr |
◆ kNumStatsFrames
constexpr size_t kNumStatsFrames = 10000 |
|
staticconstexpr |
◆ kOfdmSymbolPerSlot
constexpr size_t kOfdmSymbolPerSlot = 1 |
|
staticconstexpr |
◆ kOutputFrameNum
constexpr size_t kOutputFrameNum = 1 |
|
staticconstexpr |
◆ kOutputUlScData
constexpr bool kOutputUlScData = false |
|
staticconstexpr |
◆ kPrintBeamStats
constexpr bool kPrintBeamStats = true |
|
staticconstexpr |
◆ kPrintPhyStats
constexpr bool kPrintPhyStats = true |
|
staticconstexpr |
◆ kRecordCalibrationMats
constexpr bool kRecordCalibrationMats = false |
|
staticconstexpr |
◆ kScheduleQueues
constexpr size_t kScheduleQueues = 2 |
|
staticconstexpr |
◆ kSCsPerCacheline
constexpr size_t kSCsPerCacheline = 64 / (2 * sizeof(float)) |
|
staticconstexpr |
◆ kStatsPrintFrameSummary
constexpr bool kStatsPrintFrameSummary = true |
|
staticconstexpr |
◆ kSymbolMap
◆ kTransposeBlockSize
constexpr size_t kTransposeBlockSize = 8 |
|
staticconstexpr |
◆ kUplinkHardDemod
constexpr bool kUplinkHardDemod = false |
|
staticconstexpr |
◆ kUse12BitIQ
constexpr bool kUse12BitIQ = false |
|
staticconstexpr |
◆ kUseArgos
constexpr bool kUseArgos = false |
|
staticconstexpr |
◆ kUseAVX2Encoder
constexpr bool kUseAVX2Encoder = false |
|
staticconstexpr |
◆ kUseDPDK
constexpr bool kUseDPDK = false |
|
staticconstexpr |
◆ kUsePartialTrans
constexpr bool kUsePartialTrans = true |
|
staticconstexpr |
◆ kUseUHD
constexpr bool kUseUHD = false |
|
staticconstexpr |