-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathutils.h
More file actions
55 lines (45 loc) · 1.07 KB
/
Copy pathutils.h
File metadata and controls
55 lines (45 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef TYPES_H
#define TYPES_H
#include <QObject>
#include <QString>
struct Calc4GResult {
double downlink = 0.0;
double uplink = 0.0;
bool hasUnselectedBands;
};
struct Calc5GResult {
double downlink = 0.0;
double uplink = 0.0;
QString error;
};
struct Carrier5GInfo {
QString band = "0";
int scs = 0;
int dlBandwidth = 0;
int ulBandwidth = 0;
int dlLayers = 2;
int ulLayers = 1;
int dlModulation = 8;
int ulModulation = 6;
double sfactor = 1.0;
// TDD
QString tddPattern1Period = "5";
QString tddPattern1CustomSlot = "7/2";
QString tddPattern1CustomSymb = "4/4";
QString tddPattern2Period;
QString tddPattern2CustomSlot;
QString tddPattern2CustomSymb;
bool tddFlexData = false;
bool uplinkAggregation = false;
};
// TDD Slot Pattern
struct TddSlotPattern {
double periodicity = 0.0;
int nrofDownlinkSlots = 0;
int nrofUplinkSlots = 0;
int nrofDownlinkSymbols = 0;
int nrofUplinkSymbols = 0;
};
double round2(double n);
bool isOpenGLSupported();
#endif // TYPES_H