summaryrefslogtreecommitdiff
path: root/cesar/cp2/beacon/beacon_desc.h
blob: 98c768f8a03f165d2389332aa9e1310ea29e695e (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
#ifndef cp2_beacon_beacon_desc_h
#define cp2_beacon_beacon_desc_h
/* Cesar project {{{
 *
 * Copyright (C) 2008 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    cp2/beacon/beacon_desc.h
 * \brief   Beacon object description.
 * \ingroup cp2_beacon
 *
 */

#include "mac/pbproc/pbproc.h"

struct cp_beacon_payload_t
{
    /** Beacon payload. */
    u8 beacon_mpdu_payload [8];
    u8 nbe;
    /** First bentry. */
    u8 bmis[119];
    /** Frame control. */
    pbproc_rx_beacon_params_t fc;
};
typedef struct cp_beacon_payload_t cp_beacon_payload_t;

struct cp_beacon_desc_t
{
    /** Not use. */
    struct cp_beacon_desc_t *next;
    /** Beacon payload. */
    cp_beacon_payload_t *payload;
    /** Beacon nid first four bytes. */
    uint nid_msb;
};
typedef struct cp_beacon_desc_t cp_beacon_desc_t;


#endif /* cp2_beacon_beacon_desc_h */