From 36df7740dd7f81fe36d35e808cc53f518f4e360e Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Tue, 19 Jan 2016 15:53:30 +0100 Subject: edge: Make window size configurable Currently the window size is fixed to 64 even for EGPRS. Support dynamic window sizes depending on the number of PDCH. The WS can be set to b + f * N_PDCH. If the result is not valid according to TS 44.060, Table 9.1.9.2.1, the value will be corrected to use the next lower valid value (or 64). The following VTY commands are added (config-pcu node): window-size <0-1024> set base (b) value and leave f unchanged window-size <0-1024> <0-256> set base (b) and factor (f) Sponsored-by: On-Waves ehf --- src/bts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bts.h') diff --git a/src/bts.h b/src/bts.h index c6247be9..14b6c1f8 100644 --- a/src/bts.h +++ b/src/bts.h @@ -188,8 +188,8 @@ struct gprs_rlcmac_bts { uint8_t cs_adj_lower_limit; struct {int16_t low; int16_t high;} cs_lqual_ranges[4]; uint16_t cs_downgrade_threshold; /* downgrade if less packets left (DL) */ - uint16_t egprs_ws_base; - uint16_t egprs_ws_lin; + uint16_t ws_base; + uint16_t ws_pdch; /* increase WS by this value per PDCH */ /* State for dynamic algorithm selection */ int multislot_disabled; -- cgit v1.2.3