diff options
author | Aravind Sirsikar <Arvind.Sirsikar@radisys.com> | 2016-06-15 17:46:41 +0530 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-06-16 14:32:07 +0000 |
commit | 99ab0a8fa0389723e51804c1dfce8508c8826573 (patch) | |
tree | 23e91a11ab2d771bc47639f053ef4161716fc3ec /src/bts.h | |
parent | 550a54184ba44bd0fb9f32c3b2d7691d563013ed (diff) |
Add header type 1 support for EGPRS uplink
Function is added to parse the EGPRS header type 1 in uplink tbf path.
along with configuration parameter updation to reflect max mcs in UL
Change-Id: I13c250e2e07377982ac3f29745f3cffd4088552a
Reviewed-on: https://gerrit.osmocom.org/270
Reviewed-by: Harald Welte <laforge@gnumonks.org>
Tested-by: Jenkins Builder
Diffstat (limited to 'src/bts.h')
-rw-r--r-- | src/bts.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 */ |