Philipp Maier | ca770ae | 2021-02-16 17:31:22 +0100 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | /* TS 44.004 Section 7.1 */ | ||||
4 | |||||
5 | struct gsm_sacch_l1_hdr { | ||||
6 | #if OSMO_IS_BIG_ENDIAN | ||||
7 | uint8_t reserved:1, | ||||
8 | srr_sro:1, | ||||
9 | fpc_epc:1, | ||||
10 | ms_pwr:5; | ||||
11 | uint8_t ta; | ||||
12 | #elif OSMO_IS_LITTLE_ENDIAN | ||||
13 | uint8_t ms_pwr:5, | ||||
14 | fpc_epc:1, | ||||
15 | srr_sro:1, | ||||
16 | reserved:1; | ||||
17 | uint8_t ta; | ||||
18 | #endif | ||||
19 | } __attribute__ ((packed)); |