gsm_44_004.h
Go to the documentation of this file.
#pragma once
#include <osmocom/core/endian.h>
/* TS 44.004 Section 7.1 */
struct gsm_sacch_l1_hdr {
#if OSMO_IS_BIG_ENDIAN
uint8_t reserved:1,
srr_sro:1,
fpc_epc:1,
ms_pwr:5;
uint8_t ta;
#elif OSMO_IS_LITTLE_ENDIAN
uint8_t ms_pwr:5,
fpc_epc:1,
srr_sro:1,
reserved:1;
uint8_t ta;
#endif
} __attribute__ ((packed));
endian.h
__attribute__
struct gsm_sacch_l1_hdr __attribute__((packed))
gsm_sacch_l1_hdr
Definition: gsm_44_004.h:7