diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-06-03 07:11:04 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-06-03 07:11:04 +0200 |
commit | 1d9d944310cb5148c028b518d330e7678b2a64c2 (patch) | |
tree | 0c8c36e75fb8af3c092efd737d76e4f75ea99840 /openbsc/include/openbsc/gprs_llc.h | |
parent | bb1c8057180a56ecf0d7a22f20aeed767d2ca286 (diff) |
[GPRS] LLC: Implement per-SAPI default values for LLC parameters
Diffstat (limited to 'openbsc/include/openbsc/gprs_llc.h')
-rw-r--r-- | openbsc/include/openbsc/gprs_llc.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gprs_llc.h b/openbsc/include/openbsc/gprs_llc.h index 3bdaddc4f..0ddb51804 100644 --- a/openbsc/include/openbsc/gprs_llc.h +++ b/openbsc/include/openbsc/gprs_llc.h @@ -76,6 +76,19 @@ enum gprs_llc_llme_state { GPRS_LLMS_ASSIGNED = 2, /* TLLI assigned */ }; +/* Section 8.9.9 LLC layer parameter default values */ +struct gprs_llc_params { + uint16_t iov_i_exp; + uint16_t t200_201; + uint16_t n200; + uint16_t n201_u; + uint16_t n201_i; + uint16_t mD; + uint16_t mU; + uint16_t kD; + uint16_t kU; +}; + /* Section 4.7.1: Logical Link Entity: One per DLCI (TLLI + SAPI) */ struct gprs_llc_lle { struct llist_head list; @@ -96,8 +109,9 @@ struct gprs_llc_lle { uint16_t vu_send; uint16_t vu_recv; - unsigned int n200; unsigned int retrans_ctr; + + struct gprs_llc_params params; }; #define NUM_SAPIS 16 |