add NB-IoT DCI formats and move define to phy_common

master
Andre Puschmann 5 years ago
parent c2e95b1e2a
commit 073c57dc3d

@ -45,6 +45,8 @@
#define SRSLTE_PC_MAX 23 // Maximum TX power for Category 1 UE (in dBm)
#define SRSLTE_NUM_PCI 504
#define SRSLTE_MAX_RADIOS 3 // Maximum number of supported RF devices
#define SRSLTE_MAX_CARRIERS 5 // Maximum number of supported simultaneous carriers
#define SRSLTE_MAX_PORTS 4

@ -50,8 +50,6 @@
#define SRSLTE_NSSS_CORR_FILTER_LEN 1508
#define SRSLTE_NSSS_CORR_OFFSET 412
#define SRSLTE_NUM_PCI 504
#define SRSLTE_NSSS_PERIOD 2
#define SRSLTE_NSSS_NUM_SF_DETECT (SRSLTE_NSSS_PERIOD)

@ -1414,6 +1414,12 @@ srslte_dci_format_t srslte_dci_format_from_string(char* str)
return SRSLTE_DCI_FORMAT2A;
} else if (!strcmp(str, "Format2B")) {
return SRSLTE_DCI_FORMAT2B;
} else if (!strcmp(str, "FormatN0")) {
return SRSLTE_DCI_FORMATN0;
} else if (!strcmp(str, "FormatN1")) {
return SRSLTE_DCI_FORMATN1;
} else if (!strcmp(str, "FormatN2")) {
return SRSLTE_DCI_FORMATN2;
} else {
return SRSLTE_DCI_NOF_FORMATS;
}

Loading…
Cancel
Save