Files
openairinterface5g/openair1/PHY
Thomas Schlichter ef3be74025 Fix channel estimation for 3/4 sampling
In 3/4 sampling mode, the OFDM symbol size is _not_ a power of two (e.g. 1536 instead of 2048).
In this case it is _not_ OK to calculate the modulus using a binary AND, it _must_ use either the actul modulus operator (%) using an integer division,
or a _correct_ if statement or tertianary operator like this:

re_offset = (re_offset + 4 >= ue->frame_parms.ofdm_symbol_size) ? (re_offset + 4 - ue->frame_parms.ofdm_symbol_size) : (re_offset + 4);

But of course using the actual modulus operator is much more readable and surely not much slower:

re_offset = (re_offset + 4) % ue->frame_parms.ofdm_symbol_size;
2019-11-14 17:32:09 +01:00
..
2019-10-25 15:53:54 +02:00
2019-10-07 12:04:58 +02:00
2019-10-28 10:41:56 +01:00
2019-10-24 10:42:11 +02:00
2019-10-08 09:30:14 +02:00
2019-10-16 14:51:09 +02:00
2019-11-13 15:05:19 +01:00
2019-02-08 18:22:21 +01:00
2019-01-07 16:22:28 +01:00