summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/layer1/l23_api.h
blob: 9b10b62a61481eb8d150122b84c2b6c27fcedb5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _L1_L23_API_H
#define _L1_L23_API_H

#include <stdint.h>
#include <osmocom/core/msgb.h>
#include <l1ctl_proto.h>

void l1a_l23api_init(void);
void l1_queue_for_l2(struct msgb *msg);
struct msgb *l1ctl_msgb_alloc(uint8_t msg_type);
struct msgb *l1_create_l2_msg(int msg_type, uint32_t fn, uint16_t snr, uint16_t arfcn);

void l1ctl_tx_reset(uint8_t msg_type, uint8_t reset_type);

#endif /* _L1_L23_API_H */