Commit e5eabe20 authored by Robert Schmidt's avatar Robert Schmidt

Merge remote-tracking branch 'origin/NR_DeltaTF_hotfix' into integration_2022_wk44

parents b89daf68 f3aac374
...@@ -66,8 +66,8 @@ int compute_ph_factor(int mu, ...@@ -66,8 +66,8 @@ int compute_ph_factor(int mu,
int delta_tf = 0; int delta_tf = 0;
if(deltaMCS != NULL && n_layers == 1) { if(deltaMCS != NULL && n_layers == 1) {
const int n_re = (NR_NB_SC_PER_RB * n_symbols - n_dmrs) * rb; const int n_re = (NR_NB_SC_PER_RB * n_symbols - n_dmrs) * rb;
const int BPRE = tbs_bits/n_re; //TODO change for PUSCH with CSI const float BPRE = (float) tbs_bits/n_re; //TODO change for PUSCH with CSI
const float f = pow(2, (float) BPRE * 1.25); const float f = pow(2, BPRE * 1.25);
const float beta = 1.0f; //TODO change for PUSCH with CSI const float beta = 1.0f; //TODO change for PUSCH with CSI
delta_tf = (10 * log10((f - 1) * beta)); delta_tf = (10 * log10((f - 1) * beta));
} }
......
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