2015-06-15 09:04:25 +00:00
|
|
|
/*
|
|
|
|
* LlcTest.cpp
|
|
|
|
*
|
|
|
|
* Copyright (C) 2015 by Sysmocom s.f.m.c. GmbH
|
|
|
|
*
|
|
|
|
* All Rights Reserved
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
#include <osmocom/core/linuxlist.h>
|
|
|
|
}
|
|
|
|
|
|
|
|
#include "gprs_debug.h"
|
2022-04-04 11:45:56 +00:00
|
|
|
#include "bts.h"
|
2015-06-15 09:04:25 +00:00
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
#include "pcu_vty.h"
|
2022-04-04 11:45:56 +00:00
|
|
|
#include "gprs_pcu.h"
|
|
|
|
#include "llc.h"
|
|
|
|
#include "gprs_ms.h"
|
2015-06-15 09:04:25 +00:00
|
|
|
|
|
|
|
#include <osmocom/core/application.h>
|
|
|
|
#include <osmocom/core/msgb.h>
|
|
|
|
#include <osmocom/core/talloc.h>
|
|
|
|
#include <osmocom/core/utils.h>
|
2020-02-26 19:05:33 +00:00
|
|
|
#include <osmocom/core/timer.h>
|
2015-06-15 09:04:25 +00:00
|
|
|
#include <osmocom/vty/vty.h>
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void *tall_pcu_ctx;
|
|
|
|
int16_t spoof_mnc = 0, spoof_mcc = 0;
|
2018-02-20 23:39:07 +00:00
|
|
|
bool spoof_mnc_3_digits = false;
|
2020-03-11 13:04:52 +00:00
|
|
|
static struct timespec *clk_mono_override_time;
|
2015-06-15 09:04:25 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
static struct gprs_llc_queue *prepare_queue(void)
|
|
|
|
{
|
|
|
|
the_pcu = gprs_pcu_alloc(tall_pcu_ctx);
|
|
|
|
the_pcu->vty.llc_codel_interval_msec = LLC_CODEL_DISABLE;
|
|
|
|
struct gprs_rlcmac_bts *bts = bts_alloc(the_pcu, 0);
|
|
|
|
struct GprsMs *ms = bts_alloc_ms(bts, 0, 0);
|
|
|
|
return ms_llc_queue(ms);
|
|
|
|
}
|
|
|
|
|
2015-06-15 12:32:33 +00:00
|
|
|
static void enqueue_data(gprs_llc_queue *queue, const uint8_t *data, size_t len,
|
2020-03-11 13:04:52 +00:00
|
|
|
const struct timespec *expire_time)
|
2015-06-15 09:04:25 +00:00
|
|
|
{
|
2020-03-11 13:04:52 +00:00
|
|
|
struct timespec *tv;
|
2015-06-15 09:04:25 +00:00
|
|
|
uint8_t *msg_data;
|
|
|
|
struct msgb *llc_msg = msgb_alloc(len + sizeof(*tv) * 2,
|
|
|
|
"llc_pdu_queue");
|
|
|
|
|
|
|
|
msg_data = (uint8_t *)msgb_put(llc_msg, len);
|
|
|
|
|
|
|
|
memcpy(msg_data, data, len);
|
|
|
|
|
2022-03-31 17:36:12 +00:00
|
|
|
llc_queue_enqueue(queue, llc_msg, expire_time);
|
2015-06-15 09:04:25 +00:00
|
|
|
}
|
|
|
|
|
2015-06-15 12:32:33 +00:00
|
|
|
static void dequeue_and_check(gprs_llc_queue *queue, const uint8_t *exp_data,
|
Convert GprsMS and helpers classes to C
As we integrate osmo-pcu more and more with libosmocore features, it
becomes really hard to use them since libosmocore relies heavily on C
specific compilation features, which are not available in old C++
compilers (such as designated initializers for complex types in FSMs).
GprsMs is right now a quite simple object since initial design of
osmo-pcu made it optional and most of the logic was placed and stored
duplicated in TBF objects. However, that's changing as we introduce more
features, with the GprsMS class getting more weight. Hence, let's move
it now to be a C struct in order to be able to easily use libosmocore
features there, such as FSMs.
Some helper classes which GprsMs uses are also mostly move to C since
they are mostly structs with methods, so there's no point in having
duplicated APIs for C++ and C for such simple cases.
For some more complex classes, like (ul_,dl_)tbf, C API bindings are
added where needed so that GprsMs can use functionalitites from that
class. Most of those APIs can be kept afterwards and drop the C++ ones
since they provide no benefit in general.
Change-Id: I0b50e3367aaad9dcada76da97b438e452c8b230c
2020-12-16 14:59:45 +00:00
|
|
|
size_t len, const MetaInfo *exp_info)
|
2015-06-15 09:04:25 +00:00
|
|
|
{
|
|
|
|
struct msgb *llc_msg;
|
Convert GprsMS and helpers classes to C
As we integrate osmo-pcu more and more with libosmocore features, it
becomes really hard to use them since libosmocore relies heavily on C
specific compilation features, which are not available in old C++
compilers (such as designated initializers for complex types in FSMs).
GprsMs is right now a quite simple object since initial design of
osmo-pcu made it optional and most of the logic was placed and stored
duplicated in TBF objects. However, that's changing as we introduce more
features, with the GprsMS class getting more weight. Hence, let's move
it now to be a C struct in order to be able to easily use libosmocore
features there, such as FSMs.
Some helper classes which GprsMs uses are also mostly move to C since
they are mostly structs with methods, so there's no point in having
duplicated APIs for C++ and C for such simple cases.
For some more complex classes, like (ul_,dl_)tbf, C API bindings are
added where needed so that GprsMs can use functionalitites from that
class. Most of those APIs can be kept afterwards and drop the C++ ones
since they provide no benefit in general.
Change-Id: I0b50e3367aaad9dcada76da97b438e452c8b230c
2020-12-16 14:59:45 +00:00
|
|
|
const MetaInfo *info_res;
|
2015-06-15 09:04:25 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
llc_msg = llc_queue_dequeue(queue);
|
2015-06-15 09:04:25 +00:00
|
|
|
OSMO_ASSERT(llc_msg != NULL);
|
2022-04-04 11:45:56 +00:00
|
|
|
info_res = (struct MetaInfo *)&llc_msg->cb[0];
|
2015-06-15 09:04:25 +00:00
|
|
|
|
2017-02-08 16:07:40 +00:00
|
|
|
fprintf(stderr, "dequeued msg, length %u (expected %zu), data %s\n",
|
2015-06-15 12:32:33 +00:00
|
|
|
msgb_length(llc_msg), len, msgb_hexdump(llc_msg));
|
2015-06-15 09:04:25 +00:00
|
|
|
|
2019-03-05 15:15:01 +00:00
|
|
|
if (!msgb_eq_data_print(llc_msg, exp_data, len))
|
|
|
|
fprintf(stderr, "check failed!\n");
|
2015-06-15 12:32:33 +00:00
|
|
|
|
2020-02-26 19:05:33 +00:00
|
|
|
if (exp_info) {
|
|
|
|
OSMO_ASSERT(memcmp(&exp_info->recv_time, &info_res->recv_time, sizeof(info_res->recv_time)) == 0);
|
|
|
|
OSMO_ASSERT(memcmp(&exp_info->expire_time, &info_res->expire_time, sizeof(info_res->expire_time)) == 0);
|
|
|
|
}
|
2015-06-15 09:04:25 +00:00
|
|
|
msgb_free(llc_msg);
|
|
|
|
}
|
|
|
|
|
2015-06-15 12:32:33 +00:00
|
|
|
static void enqueue_data(gprs_llc_queue *queue, const char *message,
|
2020-03-11 13:04:52 +00:00
|
|
|
const struct timespec *expire_time)
|
2015-06-15 09:04:25 +00:00
|
|
|
{
|
2020-02-26 19:05:33 +00:00
|
|
|
enqueue_data(queue, (uint8_t *)(message), strlen(message), expire_time);
|
2015-06-15 09:04:25 +00:00
|
|
|
}
|
|
|
|
|
2015-06-15 12:32:33 +00:00
|
|
|
static void dequeue_and_check(gprs_llc_queue *queue, const char *exp_message,
|
Convert GprsMS and helpers classes to C
As we integrate osmo-pcu more and more with libosmocore features, it
becomes really hard to use them since libosmocore relies heavily on C
specific compilation features, which are not available in old C++
compilers (such as designated initializers for complex types in FSMs).
GprsMs is right now a quite simple object since initial design of
osmo-pcu made it optional and most of the logic was placed and stored
duplicated in TBF objects. However, that's changing as we introduce more
features, with the GprsMS class getting more weight. Hence, let's move
it now to be a C struct in order to be able to easily use libosmocore
features there, such as FSMs.
Some helper classes which GprsMs uses are also mostly move to C since
they are mostly structs with methods, so there's no point in having
duplicated APIs for C++ and C for such simple cases.
For some more complex classes, like (ul_,dl_)tbf, C API bindings are
added where needed so that GprsMs can use functionalitites from that
class. Most of those APIs can be kept afterwards and drop the C++ ones
since they provide no benefit in general.
Change-Id: I0b50e3367aaad9dcada76da97b438e452c8b230c
2020-12-16 14:59:45 +00:00
|
|
|
const MetaInfo *exp_info = 0)
|
2015-06-15 09:04:25 +00:00
|
|
|
{
|
2015-06-15 12:32:33 +00:00
|
|
|
dequeue_and_check(queue,
|
|
|
|
(uint8_t *)(exp_message), strlen(exp_message), exp_info);
|
2015-06-15 09:04:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static void test_llc_queue()
|
|
|
|
{
|
2022-04-04 11:45:56 +00:00
|
|
|
gprs_llc_queue *queue = prepare_queue();
|
2020-03-11 13:04:52 +00:00
|
|
|
struct timespec expire_time = {0};
|
2015-06-15 09:04:25 +00:00
|
|
|
|
|
|
|
printf("=== start %s ===\n", __func__);
|
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
OSMO_ASSERT(llc_queue_size(queue) == 0);
|
|
|
|
OSMO_ASSERT(llc_queue_octets(queue) == 0);
|
2015-06-15 09:04:25 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
enqueue_data(queue, "LLC message", &expire_time);
|
|
|
|
OSMO_ASSERT(llc_queue_size(queue) == 1);
|
|
|
|
OSMO_ASSERT(llc_queue_octets(queue) == 11);
|
2015-06-15 09:04:25 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
enqueue_data(queue, "other LLC message", &expire_time);
|
|
|
|
OSMO_ASSERT(llc_queue_size(queue) == 2);
|
|
|
|
OSMO_ASSERT(llc_queue_octets(queue) == 28);
|
2015-06-15 09:04:25 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
dequeue_and_check(queue, "LLC message");
|
|
|
|
OSMO_ASSERT(llc_queue_size(queue) == 1);
|
|
|
|
OSMO_ASSERT(llc_queue_octets(queue) == 17);
|
2015-06-15 09:04:25 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
dequeue_and_check(queue, "other LLC message");
|
|
|
|
OSMO_ASSERT(llc_queue_size(queue) == 0);
|
|
|
|
OSMO_ASSERT(llc_queue_octets(queue) == 0);
|
2015-06-15 09:04:25 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
enqueue_data(queue, "LLC", &expire_time);
|
|
|
|
OSMO_ASSERT(llc_queue_size(queue) == 1);
|
|
|
|
OSMO_ASSERT(llc_queue_octets(queue) == 3);
|
2015-06-15 09:04:25 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
llc_queue_clear(queue, NULL);
|
|
|
|
OSMO_ASSERT(llc_queue_size(queue) == 0);
|
|
|
|
OSMO_ASSERT(llc_queue_octets(queue) == 0);
|
2015-06-15 09:04:25 +00:00
|
|
|
|
|
|
|
printf("=== end %s ===\n", __func__);
|
2022-04-04 11:45:56 +00:00
|
|
|
TALLOC_FREE(the_pcu);
|
2015-06-15 09:04:25 +00:00
|
|
|
}
|
|
|
|
|
2015-06-15 12:32:33 +00:00
|
|
|
static void test_llc_meta()
|
|
|
|
{
|
2022-04-04 11:45:56 +00:00
|
|
|
gprs_llc_queue *queue = prepare_queue();
|
Convert GprsMS and helpers classes to C
As we integrate osmo-pcu more and more with libosmocore features, it
becomes really hard to use them since libosmocore relies heavily on C
specific compilation features, which are not available in old C++
compilers (such as designated initializers for complex types in FSMs).
GprsMs is right now a quite simple object since initial design of
osmo-pcu made it optional and most of the logic was placed and stored
duplicated in TBF objects. However, that's changing as we introduce more
features, with the GprsMS class getting more weight. Hence, let's move
it now to be a C struct in order to be able to easily use libosmocore
features there, such as FSMs.
Some helper classes which GprsMs uses are also mostly move to C since
they are mostly structs with methods, so there's no point in having
duplicated APIs for C++ and C for such simple cases.
For some more complex classes, like (ul_,dl_)tbf, C API bindings are
added where needed so that GprsMs can use functionalitites from that
class. Most of those APIs can be kept afterwards and drop the C++ ones
since they provide no benefit in general.
Change-Id: I0b50e3367aaad9dcada76da97b438e452c8b230c
2020-12-16 14:59:45 +00:00
|
|
|
MetaInfo info1 = {0};
|
|
|
|
MetaInfo info2 = {0};
|
2015-06-15 12:32:33 +00:00
|
|
|
|
|
|
|
printf("=== start %s ===\n", __func__);
|
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
OSMO_ASSERT(llc_queue_size(queue) == 0);
|
|
|
|
OSMO_ASSERT(llc_queue_octets(queue) == 0);
|
2015-06-15 12:32:33 +00:00
|
|
|
|
2020-02-26 19:05:33 +00:00
|
|
|
info1.recv_time.tv_sec = 123456777;
|
2020-03-11 13:04:52 +00:00
|
|
|
info1.recv_time.tv_nsec = 123456000;
|
2020-02-26 19:05:33 +00:00
|
|
|
info1.expire_time.tv_sec = 123456789;
|
2020-03-11 13:04:52 +00:00
|
|
|
info1.expire_time.tv_nsec = 987654000;
|
|
|
|
*clk_mono_override_time = info1.recv_time;
|
2022-04-04 11:45:56 +00:00
|
|
|
enqueue_data(queue, "LLC message 1", &info1.expire_time);
|
2020-02-26 19:05:33 +00:00
|
|
|
|
2020-03-11 12:06:13 +00:00
|
|
|
info2.recv_time.tv_sec = 123458000;
|
2020-03-11 13:04:52 +00:00
|
|
|
info2.recv_time.tv_nsec = 547352000;
|
2020-03-11 12:06:13 +00:00
|
|
|
info2.expire_time.tv_sec = 123458006;
|
2020-03-11 13:04:52 +00:00
|
|
|
info2.expire_time.tv_nsec = 867252000;
|
|
|
|
*clk_mono_override_time = info2.recv_time;
|
2022-04-04 11:45:56 +00:00
|
|
|
enqueue_data(queue, "LLC message 2", &info2.expire_time);
|
|
|
|
|
|
|
|
clk_mono_override_time->tv_sec = info1.expire_time.tv_sec - 1;
|
|
|
|
clk_mono_override_time->tv_nsec = info1.expire_time.tv_nsec;
|
2015-06-15 12:32:33 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
dequeue_and_check(queue, "LLC message 1", &info1);
|
|
|
|
dequeue_and_check(queue, "LLC message 2", &info2);
|
2015-06-15 12:32:33 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
llc_queue_clear(queue, NULL);
|
|
|
|
OSMO_ASSERT(llc_queue_size(queue) == 0);
|
|
|
|
OSMO_ASSERT(llc_queue_octets(queue) == 0);
|
2015-06-15 12:32:33 +00:00
|
|
|
|
|
|
|
printf("=== end %s ===\n", __func__);
|
2022-04-04 11:45:56 +00:00
|
|
|
TALLOC_FREE(the_pcu);
|
2015-06-15 12:32:33 +00:00
|
|
|
}
|
|
|
|
|
2015-08-21 16:07:47 +00:00
|
|
|
static void test_llc_merge()
|
|
|
|
{
|
2022-04-04 11:45:56 +00:00
|
|
|
gprs_llc_queue *queue1 = prepare_queue();
|
|
|
|
struct GprsMs *ms = bts_alloc_ms(queue1->ms->bts, 0, 0);
|
|
|
|
gprs_llc_queue *queue2 = ms_llc_queue(ms);
|
2020-03-11 13:04:52 +00:00
|
|
|
struct timespec expire_time = {0};
|
2015-08-21 16:07:47 +00:00
|
|
|
|
|
|
|
printf("=== start %s ===\n", __func__);
|
|
|
|
|
2020-03-11 13:04:52 +00:00
|
|
|
clk_mono_override_time->tv_sec += 1;
|
2022-04-04 11:45:56 +00:00
|
|
|
enqueue_data(queue1, "*A*", &expire_time);
|
2015-08-21 16:07:47 +00:00
|
|
|
|
2020-03-11 13:04:52 +00:00
|
|
|
clk_mono_override_time->tv_sec += 1;
|
2022-04-04 11:45:56 +00:00
|
|
|
enqueue_data(queue1, "*B*", &expire_time);
|
2015-08-21 16:07:47 +00:00
|
|
|
|
2020-03-11 13:04:52 +00:00
|
|
|
clk_mono_override_time->tv_sec += 1;
|
2022-04-04 11:45:56 +00:00
|
|
|
enqueue_data(queue2, "*C*", &expire_time);
|
2015-08-21 16:07:47 +00:00
|
|
|
|
2020-03-11 13:04:52 +00:00
|
|
|
clk_mono_override_time->tv_sec += 1;
|
2022-04-04 11:45:56 +00:00
|
|
|
enqueue_data(queue1, "*D*", &expire_time);
|
2015-08-21 16:07:47 +00:00
|
|
|
|
2020-03-11 13:04:52 +00:00
|
|
|
clk_mono_override_time->tv_sec += 1;
|
2022-04-04 11:45:56 +00:00
|
|
|
enqueue_data(queue2, "*E*", &expire_time);
|
2015-08-21 16:07:47 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
OSMO_ASSERT(llc_queue_size(queue1) == 3);
|
|
|
|
OSMO_ASSERT(llc_queue_octets(queue1) == 9);
|
|
|
|
OSMO_ASSERT(llc_queue_size(queue2) == 2);
|
|
|
|
OSMO_ASSERT(llc_queue_octets(queue2) == 6);
|
2015-08-21 16:07:47 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
llc_queue_move_and_merge(queue2, queue1);
|
2015-08-21 16:07:47 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
OSMO_ASSERT(llc_queue_size(queue1) == 0);
|
|
|
|
OSMO_ASSERT(llc_queue_octets(queue1) == 0);
|
|
|
|
OSMO_ASSERT(llc_queue_size(queue2) == 5);
|
|
|
|
OSMO_ASSERT(llc_queue_octets(queue2) == 15);
|
2015-08-21 16:07:47 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
dequeue_and_check(queue2, "*A*");
|
|
|
|
dequeue_and_check(queue2, "*B*");
|
|
|
|
dequeue_and_check(queue2, "*C*");
|
|
|
|
dequeue_and_check(queue2, "*D*");
|
|
|
|
dequeue_and_check(queue2, "*E*");
|
2015-08-21 16:07:47 +00:00
|
|
|
|
2022-04-04 11:45:56 +00:00
|
|
|
OSMO_ASSERT(llc_queue_size(queue2) == 0);
|
|
|
|
OSMO_ASSERT(llc_queue_octets(queue2) == 0);
|
2015-08-21 16:07:47 +00:00
|
|
|
|
|
|
|
printf("=== end %s ===\n", __func__);
|
2022-04-04 11:45:56 +00:00
|
|
|
TALLOC_FREE(the_pcu);
|
2015-08-21 16:07:47 +00:00
|
|
|
}
|
|
|
|
|
2015-06-15 09:04:25 +00:00
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
|
|
|
struct vty_app_info pcu_vty_info = {0};
|
|
|
|
|
|
|
|
tall_pcu_ctx = talloc_named_const(NULL, 1, "LlcTest context");
|
|
|
|
if (!tall_pcu_ctx)
|
|
|
|
abort();
|
|
|
|
|
2017-02-08 16:07:40 +00:00
|
|
|
msgb_talloc_ctx_init(tall_pcu_ctx, 0);
|
2018-04-01 14:54:40 +00:00
|
|
|
osmo_init_logging2(tall_pcu_ctx, &gprs_log_info);
|
2015-06-15 09:04:25 +00:00
|
|
|
log_set_use_color(osmo_stderr_target, 0);
|
2021-02-19 13:01:52 +00:00
|
|
|
log_set_print_filename2(osmo_stderr_target, LOG_FILENAME_NONE);
|
2015-06-15 09:04:25 +00:00
|
|
|
log_set_log_level(osmo_stderr_target, LOGL_INFO);
|
2019-03-05 15:15:01 +00:00
|
|
|
log_parse_category_mask(osmo_stderr_target, "DPCU,3:DLGLOBAL,1:");
|
2015-06-15 09:04:25 +00:00
|
|
|
|
|
|
|
vty_init(&pcu_vty_info);
|
2019-08-05 12:30:44 +00:00
|
|
|
pcu_vty_init();
|
2015-06-15 09:04:25 +00:00
|
|
|
|
2020-03-11 13:04:52 +00:00
|
|
|
osmo_clock_override_enable(CLOCK_MONOTONIC, true);
|
|
|
|
clk_mono_override_time = osmo_clock_override_gettimespec(CLOCK_MONOTONIC);
|
|
|
|
clk_mono_override_time->tv_sec = 123456777;
|
|
|
|
clk_mono_override_time->tv_nsec = 123456000;
|
2020-02-26 19:05:33 +00:00
|
|
|
|
2015-06-15 09:04:25 +00:00
|
|
|
test_llc_queue();
|
2015-06-15 12:32:33 +00:00
|
|
|
test_llc_meta();
|
2015-08-21 16:07:47 +00:00
|
|
|
test_llc_merge();
|
2015-06-15 09:04:25 +00:00
|
|
|
|
|
|
|
if (getenv("TALLOC_REPORT_FULL"))
|
|
|
|
talloc_report_full(tall_pcu_ctx, stderr);
|
|
|
|
|
|
|
|
return EXIT_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
void l1if_pdch_req() { abort(); }
|
|
|
|
void l1if_connect_pdch() { abort(); }
|
|
|
|
void l1if_close_pdch() { abort(); }
|
|
|
|
void l1if_open_pdch() { abort(); }
|
|
|
|
}
|