Commit 1e71749c authored by Cedric Roux's avatar Cedric Roux

PHY: bugfix: use correct count of samples for TDD DL S-subframe

parent ee5b7390
...@@ -826,7 +826,8 @@ void tx_rf(RU_t *ru) { ...@@ -826,7 +826,8 @@ void tx_rf(RU_t *ru) {
int siglen=fp->samples_per_tti,flags=1; int siglen=fp->samples_per_tti,flags=1;
if (SF_type == SF_S) { if (SF_type == SF_S) {
siglen = fp->dl_symbols_in_S_subframe*(fp->ofdm_symbol_size+fp->nb_prefix_samples0); siglen = (fp->ofdm_symbol_size + fp->nb_prefix_samples0)
+ (fp->dl_symbols_in_S_subframe - 1) * (fp->ofdm_symbol_size + fp->nb_prefix_samples);
flags=3; // end of burst flags=3; // end of burst
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment