diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-10-30 18:35:54 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-11-04 21:39:42 +0100 |
commit | 343ec9b9fd4f1feda195cf3c01aae98c7d015978 (patch) | |
tree | 7035eef14538174d64b1c18300bc58d2f45bb69e /src/gprs_bssgp_pcu.cpp | |
parent | 8072e354cc85b4b095cf61118c8028edd19009b2 (diff) |
Take into account BTS supported (M)CS values when retrieving the maximum
Change-Id: I2d3a8bbae2f9887400ce56d2f8303ea30abaecfa
Diffstat (limited to 'src/gprs_bssgp_pcu.cpp')
-rw-r--r-- | src/gprs_bssgp_pcu.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp index 4b5582d3..f87681c3 100644 --- a/src/gprs_bssgp_pcu.cpp +++ b/src/gprs_bssgp_pcu.cpp @@ -753,8 +753,8 @@ static enum CodingScheme max_coding_scheme_dl(struct gprs_rlcmac_bts *bts) } } } - } else if (bts->max_mcs_dl) { - num = bts->max_mcs_dl; + } else if (bts->bts->max_mcs_dl()) { + num = bts->bts->max_mcs_dl(); } else { num = 9; } @@ -774,8 +774,8 @@ static enum CodingScheme max_coding_scheme_dl(struct gprs_rlcmac_bts *bts) } } } - } else if (bts->max_cs_dl) { - num = bts->max_cs_dl; + } else if (bts->bts->max_cs_dl()) { + num = bts->bts->max_cs_dl(); } if (!num) |