aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-06-04 19:04:30 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-06-08 09:41:07 +0200
commitb33e675e5a9f80be81ffef87ba3a9ed05d6945c5 (patch)
tree901f5466605c64b68b1333f44b3bf5c5eb7be7e9 /src/bts.h
parent8158ea7288f57d7bc66d8ccd1c278999fd656076 (diff)
ms: Add support for maximum CS values
Currently the CS values can be increased to CS4 even when the "cs" configuration command has been used with a lower value. The "cs" command just sets the initial coding scheme, so other means are needed to limit the selection. One approach is to use the CS flags passed in SI, but these are currently ignored. To make it possible to limit the CS selection by configuring the PCU, this commit adds the following VTY commands to config-pcu: - cs max <1-4> Limit DL and UL CS to the given value - cs max <1-4> <1-4> Limit DL and UL CS separately (DL first) - no cs max Don't limit Ticket: #1674 Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bts.h b/src/bts.h
index b31db5fc..e52875eb 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -121,6 +121,7 @@ struct gprs_rlcmac_bts {
uint8_t cs3;
uint8_t cs4;
uint8_t initial_cs_dl, initial_cs_ul;
+ uint8_t max_cs_dl, max_cs_ul;
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;