aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-11-28 17:00:44 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2019-11-28 17:11:56 +0100
commit1e6eb30f510e98850df8128a71f87d5bdb357ee1 (patch)
treea2caf7a8727b2deb2d02130e16f65936185de109 /src/bts.h
parent1d8497ba6a48d68f735dbb1ccd8584f77aef72a5 (diff)
Clarify (M)CS related VTY attributes
Some are used to control (M)CS values for downlink while some do it for uplink. Let's make clear which one is used for what. Take the chance to document the fields a bit better than they were. Some more information about the origin of cs_downgrade_threshold can be found in the commit introducing it: 70b96aa232bd9784a94247bf7b193cb2147ada9d. Related: OS#4286 Change-Id: I4e890e924b094a1937fbd3794de96704cf0421a8
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/bts.h b/src/bts.h
index 54a29cb7..7ef5a3f5 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -142,12 +142,15 @@ struct gprs_rlcmac_bts {
/* 0 to support resegmentation in DL, 1 for no reseg */
uint8_t dl_arq_type;
- uint8_t cs_adj_enabled;
- uint8_t cs_adj_upper_limit;
- uint8_t cs_adj_lower_limit;
+ uint8_t cs_adj_enabled; /* whether cs_adj_{upper,lower}_limit are used to adjust DL CS */
+ uint8_t cs_adj_upper_limit; /* downgrade DL CS if error rate above its value */
+ uint8_t cs_adj_lower_limit; /* upgrade DL CS if error rate below its value */
+ /* downgrade DL CS when less than specified octets are left in tx queue. Optimization, see paper:
+ "Theoretical Analysis of GPRS Throughput and Delay" */
+ uint16_t cs_downgrade_threshold;
+ /* Link quality range for each UL (M)CS. Below or above, next/prev (M)CS is selected. */
struct {int16_t low; int16_t high; } cs_lqual_ranges[MAX_GPRS_CS];
struct {int16_t low; int16_t high; } mcs_lqual_ranges[MAX_EDGE_MCS];
- uint16_t cs_downgrade_threshold; /* downgrade if less packets left (DL) */
uint16_t ws_base;
uint16_t ws_pdch; /* increase WS by this value per PDCH */