diff --git a/srslte/lib/common/src/phy_common.c b/srslte/lib/common/src/phy_common.c index 32c5c03c7..4987db530 100644 --- a/srslte/lib/common/src/phy_common.c +++ b/srslte/lib/common/src/phy_common.c @@ -235,7 +235,7 @@ int srslte_symbol_sz(uint32_t nof_prb) { } else if (nof_prb<=75) { return 1024; } else if (nof_prb<=100) { - return 1280; + return 1536; } else { return SRSLTE_ERROR; } @@ -258,7 +258,7 @@ int srslte_nof_prb(uint32_t symbol_sz) return 50; case 1024: return 75; - case 1280: + case 1536: return 100; } } else { diff --git a/srslte/lib/phch/test/pbch_file_test.c b/srslte/lib/phch/test/pbch_file_test.c index ad7bc0ac1..6e9ba5950 100644 --- a/srslte/lib/phch/test/pbch_file_test.c +++ b/srslte/lib/phch/test/pbch_file_test.c @@ -172,7 +172,8 @@ void base_free() { int main(int argc, char **argv) { uint8_t bch_payload[SRSLTE_BCH_PAYLOAD_LEN]; int n; - uint32_t nof_tx_ports, sfn_offset; + uint32_t nof_tx_ports; + int sfn_offset; cf_t *ce_slot1[SRSLTE_MAX_PORTS]; if (argc < 3) {