|
|
@ -141,11 +141,11 @@ bool srslte_cqi_send(uint32_t I_cqi_pmi, uint32_t tti) {
|
|
|
|
/* SNR-to-CQI conversion, got from "Downlink SNR to CQI Mapping for Different Multiple Antenna Techniques in LTE"
|
|
|
|
/* SNR-to-CQI conversion, got from "Downlink SNR to CQI Mapping for Different Multiple Antenna Techniques in LTE"
|
|
|
|
* Table III.
|
|
|
|
* Table III.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
// Original version
|
|
|
|
// From paper
|
|
|
|
//static float cqi_to_snr_table[15] = { 1.95, 4, 6, 8, 10, 11.95, 14.05, 16, 17.9, 19.9, 21.5, 23.45, 25.0, 27.30, 29};
|
|
|
|
static float cqi_to_snr_table[15] = { 1.95, 4, 6, 8, 10, 11.95, 14.05, 16, 17.9, 19.9, 21.5, 23.45, 25.0, 27.30, 29};
|
|
|
|
|
|
|
|
|
|
|
|
// From experimental measurements @ 5 MHz
|
|
|
|
// From experimental measurements @ 5 MHz
|
|
|
|
static float cqi_to_snr_table[15] = { 1, 1.75, 3, 4, 5, 6, 7.5, 9, 11.5, 13.0, 15.0, 18, 20, 22.5, 26.5};
|
|
|
|
//static float cqi_to_snr_table[15] = { 1, 1.75, 3, 4, 5, 6, 7.5, 9, 11.5, 13.0, 15.0, 18, 20, 22.5, 26.5};
|
|
|
|
|
|
|
|
|
|
|
|
uint8_t srslte_cqi_from_snr(float snr)
|
|
|
|
uint8_t srslte_cqi_from_snr(float snr)
|
|
|
|
{
|
|
|
|
{
|
|
|
|