summaryrefslogtreecommitdiff
path: root/cesar/cp2/beacon/src
diff options
context:
space:
mode:
authorlaranjeiro2008-06-04 07:36:01 +0000
committerlaranjeiro2008-06-04 07:36:01 +0000
commit2dbe1b16daea1306e80aeeb13161d0c4ef71d763 (patch)
tree9ad557c72825410aa6d9becf6a536a10c59d51ca /cesar/cp2/beacon/src
parent64f0d3cec64d2ae244dce9d27a3371804eab10d6 (diff)
*beacon:
* Update the docs with the modification done in r2213 and r2214. * Stored the ntb date for a discover beacon received and increase the discover beacon receive counter. * Removed from the specication the uml data due to multiples modification (see directly the uml file and generate if necessary the xhtml doc): * Class diagram * Table explaining the each class git-svn-id: svn+ssh://pessac/svn/cesar/trunk@2216 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp2/beacon/src')
-rw-r--r--cesar/cp2/beacon/src/beacon.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cesar/cp2/beacon/src/beacon.c b/cesar/cp2/beacon/src/beacon.c
index 268b15c3ca..c36fad4568 100644
--- a/cesar/cp2/beacon/src/beacon.c
+++ b/cesar/cp2/beacon/src/beacon.c
@@ -777,6 +777,12 @@ cp_beacon_process_discover (cp_t *ctx, cp_beacon_desc_t *beacon,
dbg_assert (beacon_vf);
dbg_assert (net);
+ // Increase the counter.
+ ctx->beacon.discover.nb_beacon_recv++;
+ // store the current NTB date.
+ ctx->beacon.discover.last_beacon_ntb = mac_ntb();
+
+
// Get the number of beacon entries.
bentry.read_write = CP_BEACON_BENTRY_READ;
bentry.bentry_addr = beacon->payload->bmis;