diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-11-03 15:59:39 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-11-04 21:39:43 +0100 |
commit | b47b137c662ef7d80640871d095c0d489423161b (patch) | |
tree | 283b9f0b014fe1ccbbb4b8e3a308f1d4f67bc772 /src/bts.h | |
parent | 87eec1fd744a2d55f01fd9b346a61aeae46dca80 (diff) |
Fix configuration of initial_(m)cs
Properly clip initial_(m)cs values to be lower-equal than maximum
configured.
Regarding initial_mcs, use values provided by BTS, which were not used
before.
Change-Id: Ifc6bc7c2734d1ae404adc2497afec5366e4f9e50
Diffstat (limited to 'src/bts.h')
-rw-r--r-- | src/bts.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -115,10 +115,11 @@ struct gprs_rlcmac_bts { uint8_t initial_cs_dl, initial_cs_ul; uint8_t initial_mcs_dl, initial_mcs_ul; struct { /* Config Values set by VTY */ + bool force_initial_cs; /* false=use from BTS true=use from VTY */ + bool force_initial_mcs; /* false=use from BTS true=use from VTY */ uint8_t max_cs_dl, max_cs_ul; uint8_t max_mcs_dl, max_mcs_ul; } vty; - uint8_t force_cs; /* 0=use from BTS 1=use from VTY */ uint16_t force_llc_lifetime; /* overrides lifetime from SGSN */ uint32_t llc_discard_csec; uint32_t llc_idle_ack_csec; |