aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-10-30 17:14:26 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-11-04 21:39:42 +0100
commitd87722d03c162971f5164ce9341053a82674e234 (patch)
treec4d2851c83cd1e0cb21cc1553cc3e9f58b3b924c /src/bts.h
parent46fd7a0316632bfce429ae42d0f446699f2592dd (diff)
pcuif: Improve BTS-supported CS/MCS handling
Take into account the MCS values supported by the BTS. In osmo-bts, in general all MCS are enabled if "mode egprs" is selected in BSC, and none otherwise. Change-Id: Ie8f0215ba17da1e545e98bec9325c02f1e8efaea
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bts.h b/src/bts.h
index a3fa9753..73354838 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -110,10 +110,8 @@ struct gprs_rlcmac_bts {
uint32_t fc_bvc_leak_rate;
uint32_t fc_ms_bucket_size;
uint32_t fc_ms_leak_rate;
- uint8_t cs1;
- uint8_t cs2;
- uint8_t cs3;
- uint8_t cs4;
+ uint8_t cs_mask; /* Allowed CS mask from BTS */
+ uint16_t mcs_mask; /* Allowed MCS mask from BTS */
uint8_t initial_cs_dl, initial_cs_ul;
uint8_t initial_mcs_dl, initial_mcs_ul;
uint8_t max_cs_dl, max_cs_ul;