14#if OSMO_IS_LITTLE_ENDIAN
30#elif OSMO_IS_BIG_ENDIAN
32 uint8_t tfi_hi:2, cv:4, si:1, r:1;
33 uint8_t bsn1_hi:5, tfi_lo:3;
34 uint8_t bsn2_hi:2, bsn1_lo:6;
36 uint8_t spare_hi:1, pi:1, rsb:1, cps:5;
37 uint8_t dummy:2, spare_lo:6;
43#if OSMO_IS_LITTLE_ENDIAN
58#elif OSMO_IS_BIG_ENDIAN
60 uint8_t tfi_hi:2, cv:4, si:1, r:1;
61 uint8_t bsn1_hi:5, tfi_lo:3;
62 uint8_t cps_hi:2, bsn1_lo:6;
63 uint8_t spare_hi:5, pi:1, rsb:1, cps_lo:1;
64 uint8_t dummy:3, spare_lo:5;
70#if OSMO_IS_LITTLE_ENDIAN
85#elif OSMO_IS_BIG_ENDIAN
87 uint8_t tfi_hi:2, cv:4, si:1, r:1;
88 uint8_t bsn1_hi:5, tfi_lo:3;
89 uint8_t cps_hi:2, bsn1_lo:6;
90 uint8_t dummy:1, spare:1, pi:1, rsb:1, spb:2, cps_lo:2;
95#if OSMO_IS_LITTLE_ENDIAN
108#elif OSMO_IS_BIG_ENDIAN
110 uint8_t tfi_hi:1, rrbp:2, es_p:2, usf:3;
111 uint8_t bsn1_hi:2, pr:2, tfi_lo:4;
113 uint8_t bsn2_hi:7, bsn1_lo:1;
114 uint8_t cps:5, bsn2_lo:3;
119#if OSMO_IS_LITTLE_ENDIAN
131#elif OSMO_IS_BIG_ENDIAN
133 uint8_t tfi_hi:1, rrbp:2, es_p:2, usf:3;
134 uint8_t bsn1_hi:2, pr:2, tfi_lo:4;
136 uint8_t dummy:4, cps:3, bsn1_lo:1;
141#if OSMO_IS_LITTLE_ENDIAN
154#elif OSMO_IS_BIG_ENDIAN
156 uint8_t tfi_hi:1, rrbp:2, es_p:2, usf:3;
157 uint8_t bsn1_hi:2, pr:2, tfi_lo:4;
159 uint8_t dummy:1, spb:2, cps:4, bsn1_lo:1;
uint8_t type
Definition: gsm_04_08_gprs.h:7
int egprs_get_cps(struct egprs_cps *cps, uint8_t type, uint8_t bits)
Definition: gprs_rlc.c:91
int osmo_gprs_ul_block_size_bits(enum osmo_gprs_cs cs)
Return size of (E)GPRS uplink block for given coding scheme in bits.
Definition: gprs_rlc.c:146
osmo_gprs_nmo
Definition: gsm_44_060.h:165
@ GPRS_NMO_II
Definition: gsm_44_060.h:167
@ GPRS_NMO_I
Definition: gsm_44_060.h:166
@ GPRS_NMO_III
Definition: gsm_44_060.h:168
egprs_hdr_type
EGPRS header types (TS 44.060 10.0a.2)
Definition: gsm_44_060.h:221
@ EGPRS_HDR_TYPE2
Definition: gsm_44_060.h:223
@ EGPRS_HDR_TYPE1
Definition: gsm_44_060.h:222
@ EGPRS_HDR_TYPE3
Definition: gsm_44_060.h:224
egprs_cps_punc
CPS puncturing table selection (TS 44.060 10.4.8a)
Definition: gsm_44_060.h:213
@ EGPRS_CPS_P3
Definition: gsm_44_060.h:216
@ EGPRS_CPS_NONE
Definition: gsm_44_060.h:217
@ EGPRS_CPS_P2
Definition: gsm_44_060.h:215
@ EGPRS_CPS_P1
Definition: gsm_44_060.h:214
osmo_gprs_cs
Definition: gsm_44_060.h:227
@ OSMO_GPRS_CS_NONE
Definition: gsm_44_060.h:228
@ OSMO_GPRS_MCS3
Definition: gsm_44_060.h:235
@ OSMO_GPRS_MCS4
Definition: gsm_44_060.h:236
@ OSMO_GPRS_CS4
Definition: gsm_44_060.h:232
@ OSMO_GPRS_MCS6
Definition: gsm_44_060.h:238
@ OSMO_GPRS_MCS9
Definition: gsm_44_060.h:241
@ OSMO_GPRS_CS3
Definition: gsm_44_060.h:231
@ OSMO_GPRS_MCS2
Definition: gsm_44_060.h:234
@ OSMO_GPRS_CS1
Definition: gsm_44_060.h:229
@ OSMO_GPRS_MCS5
Definition: gsm_44_060.h:237
@ OSMO_GPRS_MCS7
Definition: gsm_44_060.h:239
@ OSMO_GPRS_CS2
Definition: gsm_44_060.h:230
@ OSMO_GPRS_MCS8
Definition: gsm_44_060.h:240
@ _NUM_OSMO_GPRS_CS
Definition: gsm_44_060.h:242
@ OSMO_GPRS_MCS1
Definition: gsm_44_060.h:233
int osmo_gprs_ul_block_size_bytes(enum osmo_gprs_cs cs)
Return size of (E)GPRS uplink block for given coding scheme in bytes.
Definition: gprs_rlc.c:162
enum osmo_gprs_cs osmo_gprs_dl_cs_by_block_bytes(uint8_t block_size)
Return coding scheme for given (E)GPRS downlink block size.
Definition: gprs_rlc.c:198
enum osmo_gprs_cs osmo_gprs_ul_cs_by_block_bytes(uint8_t block_size)
Return coding scheme for given (E)GPRS uplink block size.
Definition: gprs_rlc.c:186
int osmo_gprs_dl_block_size_bits(enum osmo_gprs_cs cs)
Return size of (E)GPRS downlink block for given coding scheme in bits.
Definition: gprs_rlc.c:154
enum osmo_gprs_nmo __attribute__
int osmo_gprs_dl_block_size_bytes(enum osmo_gprs_cs cs)
Return size of (E)GPRS downlink block for given coding scheme in bytes.
Definition: gprs_rlc.c:174
Structure for CPS coding and puncturing scheme (TS 44.060 10.4.8a)
Definition: gsm_44_060.h:206
uint8_t mcs
Definition: gsm_44_060.h:208
uint8_t bits
Definition: gsm_44_060.h:207
uint8_t p[2]
Definition: gsm_44_060.h:209
Definition: gsm_44_060.h:172
uint32_t t3168
Definition: gsm_44_060.h:175
struct osmo_gprs_cell_options::@118 ext_info
uint32_t t3192
Definition: gsm_44_060.h:177
uint8_t dtm_supported
Definition: gsm_44_060.h:189
uint8_t bep_period
Definition: gsm_44_060.h:187
uint8_t supports_egprs_11bit_rach
Definition: gsm_44_060.h:180
bool ccn_active
Definition: gsm_44_060.h:191
uint8_t use_egprs_p_ch_req
Definition: gsm_44_060.h:186
uint8_t ext_info_present
Definition: gsm_44_060.h:183
uint32_t bs_cv_max
Definition: gsm_44_060.h:179
uint8_t pfc_supported
Definition: gsm_44_060.h:188
uint32_t drx_timer_max
Definition: gsm_44_060.h:178
uint8_t egprs_supported
Definition: gsm_44_060.h:185
enum osmo_gprs_nmo nmo
Definition: gsm_44_060.h:173
uint8_t bss_paging_coordination
Definition: gsm_44_060.h:190
bool ctrl_ack_type_use_block
Definition: gsm_44_060.h:181
Definition: gsm_44_060.h:196
uint8_t t_avg_w
Definition: gsm_44_060.h:198
uint8_t t_avg_t
Definition: gsm_44_060.h:199
uint8_t alpha
Definition: gsm_44_060.h:197
uint8_t pc_meas_chan
Definition: gsm_44_060.h:200
uint8_t n_avg_i
Definition: gsm_44_060.h:201