aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bts.h b/src/bts.h
index a713c46..807ce08 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -41,6 +41,8 @@ extern "C" {
#define LLC_CODEL_DISABLE 0
#define LLC_CODEL_USE_DEFAULT (-1)
+#define MAX_GPRS_CS 9
+
struct BTS;
struct GprsMs;
@@ -188,7 +190,7 @@ struct gprs_rlcmac_bts {
uint8_t cs_adj_enabled;
uint8_t cs_adj_upper_limit;
uint8_t cs_adj_lower_limit;
- struct {int16_t low; int16_t high;} cs_lqual_ranges[4];
+ struct {int16_t low; int16_t high; } cs_lqual_ranges[MAX_GPRS_CS];
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 */