summaryrefslogtreecommitdiff
path: root/cesar/bsu/beacon
diff options
context:
space:
mode:
authorlaranjeiro2010-05-17 09:38:49 +0000
committerlaranjeiro2010-05-17 09:38:49 +0000
commitec5cabf8246f4d99df4ad7bd59cd6283d8575e29 (patch)
tree3f875de4e06ca31e79bfe28091723c2fb7653862 /cesar/bsu/beacon
parenta1367252f08954b5be66051363484fd1a970caa9 (diff)
cesar/bsu/beacon: move the beacon size define
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7037 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/bsu/beacon')
-rw-r--r--cesar/bsu/beacon/defs.h3
-rw-r--r--cesar/bsu/beacon/src/beacon.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/cesar/bsu/beacon/defs.h b/cesar/bsu/beacon/defs.h
index 93a1c22e74..9b1479026f 100644
--- a/cesar/bsu/beacon/defs.h
+++ b/cesar/bsu/beacon/defs.h
@@ -12,6 +12,9 @@
* \brief Beacon entries definition.
* \ingroup bsu_beacon
*/
+/** Define the bsu_beacon size in the data part of the block. The first part
+ * of the NID is stored in the block descriptor. */
+#define BSU_BEACON_SIZE 128
/** Non coordinated mode. */
enum bsu_beacon_non_coordinated_mode_t
diff --git a/cesar/bsu/beacon/src/beacon.c b/cesar/bsu/beacon/src/beacon.c
index 1192c81282..6658368e6c 100644
--- a/cesar/bsu/beacon/src/beacon.c
+++ b/cesar/bsu/beacon/src/beacon.c
@@ -17,10 +17,6 @@
#include "bsu/beacon/beacon.h"
#include "cp/defs.h"
-/** Define the bsu_beacon size in the data part of the block. The first part
- * of the NID is stored in the block descriptor. */
-#define BSU_BEACON_SIZE 128
-
/**
* Write the beacon variant fields.
* \param phy_beacon the beacon bloc.