#ifndef cp2_beacon_beacon_desc_h #define cp2_beacon_beacon_desc_h /* Cesar project {{{ * * Copyright (C) 2008 Spidcom * * <<>> * * }}} */ /** * \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 */