Return an entry from the 45.002 Annex B table. We use T(rb) and T(tb) instead of T(ra), T(ta) because the latter are only used when there is a requirement for adjacent cell measurements. We dont need to worry much about T(rb) and T(tb) because we will always just keep Trb >= 1. This constraint is satisfied by allocating adjacent channels when Rx <= 2 or Tx <= 2.
| 103 | // always just keep Trb >= 1. This constraint is satisfied by allocating |
| 104 | // adjacent channels when Rx <= 2 or Tx <= 2. |
| 105 | static MultislotClass getMultislotClass(MSInfo *ms) |
| 106 | { |
| 107 | int multislotclass = ms->sgsnGetMultislotClass(ms->msTlli); |
| 108 | GPRSLOG(1) << ms <<LOGVAR(multislotclass); |
| 109 | // -1 means not specified and 0 or >45 are illegal. |
| 110 | if (multislotclass <= 0 || multislotclass > sMultislotMax) { |
| 111 | return sMultislotInfo[0]; // No multislot capability. |
| 112 | } else { |
| 113 | MultislotClass result = sMultislotInfo[multislotclass-1]; |
| 114 | devassert((int)result.mMultislotClass == multislotclass); |
| 115 | return result; |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | MSInfo::MSInfo(uint32_t tlli) |
| 120 | : msDebugId(++Stats.countMSInfo), |
no test coverage detected