summaryrefslogtreecommitdiff
path: root/cesar/bsu/beacon/beacon.h
diff options
context:
space:
mode:
authorYacine Belkadi2013-04-02 17:38:42 +0200
committerYacine Belkadi2013-05-22 10:53:37 +0200
commit46b9d84d9dfca1a27cea6f3b85af148cd72a2434 (patch)
treeed6cf26bf8bbb5a634b6ce758d7fad484160d271 /cesar/bsu/beacon/beacon.h
parent21ef1bf39c7cbbeff2c333e74b24c8ad426006e3 (diff)
cesar/{bsu,cp}/beacon: make bsu send a fake beacon to cp when no beacon is received
On a Sta, when an expected beacon is not received, make the bsu send a fake beacon to the cp. This allows the bsu to communicate with the cp when no beacon is received, and will be used in following commits.
Diffstat (limited to 'cesar/bsu/beacon/beacon.h')
-rw-r--r--cesar/bsu/beacon/beacon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cesar/bsu/beacon/beacon.h b/cesar/bsu/beacon/beacon.h
index dbaa5eb785..677bc399c7 100644
--- a/cesar/bsu/beacon/beacon.h
+++ b/cesar/bsu/beacon/beacon.h
@@ -29,6 +29,8 @@ enum bsu_beacon_direction_t
{
BSU_BEACON_DIRECTION_TO_PLC,
BSU_BEACON_DIRECTION_FROM_PLC,
+ /* Fake beacon used by the bsu to pass info to the cp. */
+ BSU_BEACON_DIRECTION_FROM_BSU,
BSU_BEACON_DIRECTION_NB
};
typedef enum bsu_beacon_direction_t bsu_beacon_direction_t;