Commit 43575fde authored by Ben Wojtowicz's avatar Ben Wojtowicz

Version 0.19.4: Fixed the calculation of n_prime_p in generate_dmrs_pucch.

parent 0799a07f
Ben Wojtowicz, bwojtowi@gmail.com
Andrew Murphy, andrew.murphy@rd.bbc.co.uk
Ziming He, ziming.he@pathintel.com
Ziming He, ziminghe83@gmail.com
......@@ -23,7 +23,7 @@
########################################################################
cmake_minimum_required(VERSION 2.6)
project(openLTE CXX C)
set(openLTE_version 0.19.3)
set(openLTE_version 0.19.4)
enable_testing()
#select the release build type by default to get optimization flags
......
......@@ -225,3 +225,4 @@ v00.19.02 Pulled in unit tests for the turbo decoder from Ziming He, optimiz
v00.19.03 Added support for PUCCH decode in liblte, added support for H-ARQ and
PUCCH in LTE_fdd_enodeb, and fixed a bug related to improper cleanup
of the inactivity timer in LTE_fdd_enodeb
v00.19.04 Fixed the calculation of n_prime_p in generate_dmrs_pucch.
......@@ -120,6 +120,8 @@
tests and incorporated changes from Ziming
He for better PBCH detection.
03/12/2016 Ben Wojtowicz Added PUCCH channel decode support.
03/26/2016 Ben Wojtowicz Fixed the calculation of n_prime_p in
generate_dmrs_pucch.
*******************************************************************************/
......@@ -6904,7 +6906,7 @@ void generate_dmrs_pucch(LIBLTE_PHY_STRUCT *phy_struct,
phy_struct->pucch_n_prime_p[N_subfr][N_1_p_pucch][1] = (h_p/3) + (h_p%3)*N_prime/delta_pucch_shift;
}else{
phy_struct->pucch_n_prime_p[N_subfr][N_1_p_pucch][0] = (N_1_p_pucch - 3*N_cs_1/delta_pucch_shift) % (3*LIBLTE_PHY_N_SC_RB_UL/delta_pucch_shift);
phy_struct->pucch_n_prime_p[N_subfr][N_1_p_pucch][1] = ((3*(phy_struct->pucch_n_prime_p[N_subfr][N_1_p_pucch][0]+1)) % (3*LIBLTE_PHY_N_SC_RB_UL/(delta_pucch_shift+1))) - 1;
phy_struct->pucch_n_prime_p[N_subfr][N_1_p_pucch][1] = ((3*(phy_struct->pucch_n_prime_p[N_subfr][N_1_p_pucch][0]+1)) % ((3*LIBLTE_PHY_N_SC_RB_UL/delta_pucch_shift)+1)) - 1;
}
// Calculate N_oc_p
......
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