summaryrefslogtreecommitdiff
path: root/cesar/bsu/bsu.h
diff options
context:
space:
mode:
authorlaranjeiro2010-05-17 09:44:07 +0000
committerlaranjeiro2010-05-17 09:44:07 +0000
commit920e24f6d7a470aa3029bd2836cf701130520674 (patch)
treec5ab682c5bf30b368187997b1339d0a69f991c3e /cesar/bsu/bsu.h
parent356850f682157ab58c4a98e191f10c636f1fe226 (diff)
cesar/bsu: add activate function
Activation should: * launch the frequency detection on the medium. * Program the first CA schedules. * Program the timer. When deactivate only the timer is canceled. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7046 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/bsu/bsu.h')
-rw-r--r--cesar/bsu/bsu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cesar/bsu/bsu.h b/cesar/bsu/bsu.h
index e971b034cd..15d619b3eb 100644
--- a/cesar/bsu/bsu.h
+++ b/cesar/bsu/bsu.h
@@ -105,6 +105,13 @@ bsu_update (bsu_beacon_t *beacon, bool sta);
void
bsu_track_avln (u64 nid, u16 snid, u8 tei);
+/**
+ * Activates the BSU.
+ * \param status true to activate, false otherwise.
+ */
+void
+bsu_activate (bool status);
+
END_DECLS
#endif /* bsu_bsu_h */