LEFT | RIGHT |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari | 3 * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 * \return the MCS value | 77 * \return the MCS value |
78 */ | 78 */ |
79 /*static*/ uint8_t GetMcsFromCqi (int cqi); | 79 /*static*/ uint8_t GetMcsFromCqi (int cqi); |
80 | 80 |
81 /** | 81 /** |
82 * \brief Get the Transport Block Size for a selected MCS and number of PRB (ta
ble 7.1.7.2.1-1 of 36.213) | 82 * \brief Get the Transport Block Size for a selected MCS and number of PRB (ta
ble 7.1.7.2.1-1 of 36.213) |
83 * \param mcs the mcs index | 83 * \param mcs the mcs index |
84 * \param nprb the no. of PRB | 84 * \param nprb the no. of PRB |
85 * \return the Transport Block Size in bits | 85 * \return the Transport Block Size in bits |
86 */ | 86 */ |
87 /*static*/ uint16_t GetTbSizeFromMcs (int mcs, int nprb); | 87 /*static*/ uint16_t GetDlTbSizeFromMcs (int mcs, int nprb); |
| 88 |
| 89 /** |
| 90 * \brief Get the Transport Block Size for a selected MCS and number of PRB (t
able 8.6.1-1 of 36.213) |
| 91 * \param mcs the mcs index |
| 92 * \param nprb the no. of PRB |
| 93 * \return the Transport Block Size in bits |
| 94 */ |
| 95 /*static*/ uint16_t GetUlTbSizeFromMcs (int mcs, int nprb); |
88 | 96 |
89 /** | 97 /** |
90 * \brief Get the spectral efficiency value associated | 98 * \brief Get the spectral efficiency value associated |
91 * to the received CQI | 99 * to the received CQI |
92 * \param cqi the cqi value | 100 * \param cqi the cqi value |
93 * \return the spectral efficiency in (bit/s)/Hz | 101 * \return the spectral efficiency in (bit/s)/Hz |
94 */ | 102 */ |
95 /*static*/ double GetSpectralEfficiencyFromCqi (int cqi); | 103 /*static*/ double GetSpectralEfficiencyFromCqi (int cqi); |
96 | 104 |
97 /** | 105 /** |
(...skipping 29 matching lines...) Expand all Loading... |
127 * AMC model used to assign CQI. | 135 * AMC model used to assign CQI. |
128 */ | 136 */ |
129 AmcModel m_amcModel; | 137 AmcModel m_amcModel; |
130 | 138 |
131 }; // end of `class LteAmc` | 139 }; // end of `class LteAmc` |
132 | 140 |
133 | 141 |
134 } | 142 } |
135 | 143 |
136 #endif /* AMCMODULE_H */ | 144 #endif /* AMCMODULE_H */ |
LEFT | RIGHT |