summaryrefslogtreecommitdiff
path: root/cesar/cp/cp.h
diff options
context:
space:
mode:
authorNélio Laranjeiro2011-03-15 11:46:37 +0100
committerNélio Laranjeiro2011-04-18 09:18:48 +0200
commit949e9720fb4a09999538661cef19fc56bb776873 (patch)
tree9d83c098181ec24438631dcfd5c2ba6fea33048b /cesar/cp/cp.h
parent7f2da2df1263acd699af4d300e70c32d671705b3 (diff)
cesar: add bsu context to all bsu function calls, closes #2400
Diffstat (limited to 'cesar/cp/cp.h')
-rw-r--r--cesar/cp/cp.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/cesar/cp/cp.h b/cesar/cp/cp.h
index 6065515789..d20fb5504d 100644
--- a/cesar/cp/cp.h
+++ b/cesar/cp/cp.h
@@ -24,11 +24,14 @@
#include "ce/rx/rx.h"
#include "bsu/beacon/beacon.h"
#include "bsu/aclf/aclf.h"
+#include "bsu/bsu.h"
BEGIN_DECLS
/**
* Initialise the Control plane.
+ * \param bsu the bsu context.
+ * \param aclf the bsu aclf context.
* \param mac_config Mac configuration context.
* \param interface Interface context.
* \param hal_timer the HAL timer context.
@@ -41,8 +44,8 @@ BEGIN_DECLS
*
*/
cp_t *
-cp_init (bsu_aclf_t* aclf, mac_config_t * mac_config, interface_t * interface,
- hal_timer_t *hal_timer, pbproc_t *pbproc,
+cp_init (bsu_t *bsu, bsu_aclf_t* aclf, mac_config_t * mac_config,
+ interface_t * interface, hal_timer_t *hal_timer, pbproc_t *pbproc,
mac_store_t *mac_store, sar_t *sar, cl_t *cl, ce_rx_t *ce_rx,
u32 seed);