libosmogsm
1.10.0.65-d581
Osmocom GSM library
gsm_44_004.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
osmocom/core/endian.h
>
4
5
/* TS 44.004 Section 7.1 */
6
7
struct
gsm_sacch_l1_hdr
{
8
#if OSMO_IS_LITTLE_ENDIAN
9
uint8_t ms_pwr:5,
10
fpc_epc:1,
11
srr_sro:1,
12
reserved:1;
13
uint8_t
ta
;
14
#elif OSMO_IS_BIG_ENDIAN
15
/* auto-generated from the little endian part above (libosmocore/contrib/struct_endianness.py) */
16
uint8_t reserved:1, srr_sro:1, fpc_epc:1, ms_pwr:5;
17
uint8_t
ta
;
18
#endif
19
}
__attribute__
((packed));
endian.h
__attribute__
struct gsm_sacch_l1_hdr __attribute__((packed))
ta
uint8_t ta
Definition:
gsm_04_08.h:2
gsm_sacch_l1_hdr
Definition:
gsm_44_004.h:7
include
osmocom
gsm
protocol
gsm_44_004.h
Generated by
1.9.4