initial import of Osmocom TETRA phy and lower MAC code

This commit is contained in:
Harald Welte 2011-01-19 10:39:59 +01:00
parent a4c4e5a1ab
commit 7ee08faee0
45 changed files with 4217 additions and 0 deletions

19
src/osmo_prim.h Normal file
View file

@ -0,0 +1,19 @@
#ifndef OSMO_PRIMITIVE_H
#define OSMO_PRIMITIVE_H
#include <stdint.h>
enum osmo_prim_operation {
PRIM_OP_REQUEST,
PRIM_OP_RESPONSE,
PRIM_OP_INDICATION,
PRIM_OP_CONFIRM,
};
struct osmo_prim_hdr {
uint16_t sap;
uint16_t primitive;
enum osmo_prim_operation operation;
};
#endif