summaryrefslogtreecommitdiff
path: root/cp/beacon/test/central_beacon/src/ca_stub.c
blob: 9ec77756961313aea8926033a141e9ffe8463e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* Cesar project {{{
 *
 * Copyright (C) 2008 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    cp/beacon/test/central_beacon/src/ca_stub.c
 * \brief   « brief description »
 * \ingroup « module »
 *
 * « long description »
 */
#include "common/std.h"

#include "mac/ca/ca.h"

static ca_schedule_t sched;

ca_schedule_t *
ca_alloc_get_schedule (ca_t *ctx, uint index)
{
    return &sched;
}

void
ca_alloc_update_beacon_periods (ca_t *ctx,
                                ca_beacon_period_t *beacon_periods,
                                uint beacon_periods_nb)
{
}


bool
ca_mfs_remove (ca_t *ctx, mfs_tx_t *mfs)
{
    return true;
}

void
ca_mfs_add (ca_t *ctx, mfs_tx_t *mfs)
{
    dbg_assert (ctx);
    dbg_assert (mfs);
}


void
ca_mfs_update (ca_t *ctx, mfs_tx_t *mfs)
{
}

void
ca_mfs_hold (ca_t *ctx, mfs_tx_t *mfs)
{
}