From b64f3419628df4b9f76c62aa8d127efb7d3e0d8a Mon Sep 17 00:00:00 2001 From: Raymond Knopp <raymond.knopp@eurecom.fr> Date: Sun, 9 Oct 2016 00:45:03 -0700 Subject: [PATCH] correction of scrambling sequence initialization in phich.c (generate_phich) --- openair1/PHY/LTE_TRANSPORT/phich.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openair1/PHY/LTE_TRANSPORT/phich.c b/openair1/PHY/LTE_TRANSPORT/phich.c index b3b454535..ac37af2b5 100644 --- a/openair1/PHY/LTE_TRANSPORT/phich.c +++ b/openair1/PHY/LTE_TRANSPORT/phich.c @@ -435,9 +435,10 @@ void generate_phich(LTE_DL_FRAME_PARMS *frame_parms, if (HI>0) HI=1; + // c = (1-(2*HI))*SSS_AMP; // x1 is set in lte_gold_generic - x2 = (((subframe+1)*(frame_parms->Nid_cell+1))<<9) + frame_parms->Nid_cell; + x2 = (((subframe+1)*((frame_parms->Nid_cell<<1)+1))<<9) + frame_parms->Nid_cell; s = lte_gold_generic(&x1, &x2, reset); -- GitLab