pcu_l1_if: move direct phy l1if functions to dedicated header file
The function headers for the direct phy related functions (l1if_...) are currently directly listed in pcu_l1_if.cpp and osmobts_sock.c. Those functions are basically the API interface definition between the platform independed PCU code and the platform dependant direct phy code. Lets put them into a dedicated header file. Change-Id: Id54b96a4cd498a9860f3f209498132455e2aa6f8 Related: OS#5198
This commit is contained in:
parent
7c3fd98c90
commit
eaf5da306c
|
@ -100,6 +100,7 @@ noinst_HEADERS = \
|
|||
gprs_ms_storage.h \
|
||||
gprs_pcu.h \
|
||||
pcu_l1_if.h \
|
||||
pcu_l1_if_phy.h \
|
||||
pcu_vty.h \
|
||||
pcu_vty_functions.h \
|
||||
mslot_class.h \
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
|
||||
#include <pcu_l1_if.h>
|
||||
#include <pcu_l1_if_phy.h>
|
||||
#include <gprs_debug.h>
|
||||
#include <gprs_bssgp_pcu.h>
|
||||
#include <osmocom/pcu/pcuif_proto.h>
|
||||
|
@ -37,8 +38,6 @@
|
|||
#include <tbf.h>
|
||||
#include <pdch.h>
|
||||
|
||||
int l1if_close_pdch(void *obj);
|
||||
|
||||
/*
|
||||
* osmo-bts PCU socket functions
|
||||
*/
|
||||
|
|
|
@ -43,6 +43,7 @@ extern "C" {
|
|||
#include <osmocom/gsm/gsm0502.h>
|
||||
|
||||
#include <nacc_fsm.h>
|
||||
#include <pcu_l1_if_phy.h>
|
||||
}
|
||||
|
||||
#include <gprs_rlcmac.h>
|
||||
|
@ -56,15 +57,6 @@ extern "C" {
|
|||
#include <tbf_dl.h>
|
||||
#include <gprs_ms_storage.h>
|
||||
|
||||
// FIXME: move this, when changed from c++ to c.
|
||||
extern "C" {
|
||||
void *l1if_open_pdch(uint8_t trx_no, uint32_t hlayer1,
|
||||
struct gsmtap_inst *gsmtap);
|
||||
int l1if_connect_pdch(void *obj, uint8_t ts);
|
||||
int l1if_pdch_req(void *obj, uint8_t ts, int is_ptcch, uint32_t fn,
|
||||
uint16_t arfcn, uint8_t block_nr, uint8_t *data, uint8_t len);
|
||||
}
|
||||
|
||||
extern void *tall_pcu_ctx;
|
||||
|
||||
#define PAGING_GROUP_LEN 3
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void *l1if_open_pdch(uint8_t trx_no, uint32_t hlayer1, struct gsmtap_inst *gsmtap);
|
||||
int l1if_connect_pdch(void *obj, uint8_t ts);
|
||||
int l1if_pdch_req(void *obj, uint8_t ts, int is_ptcch, uint32_t fn, uint16_t arfcn, uint8_t block_nr, uint8_t *data,
|
||||
uint8_t len);
|
||||
int l1if_close_pdch(void *obj);
|
Loading…
Reference in New Issue