summaryrefslogtreecommitdiff
path: root/cesar/bsu/inc
diff options
context:
space:
mode:
authorlaranjeiro2010-05-17 09:38:42 +0000
committerlaranjeiro2010-05-17 09:38:42 +0000
commit124c58f4dd32f5185fe165a16dfd1969da894e06 (patch)
tree5cae35cc69abaae585a52039749cd90c0aad2f6f /cesar/bsu/inc
parent8c7a01c0052495f7887c36f862f7ae834aaafe49 (diff)
cesar/bsu: changed callback to send beacon to CP
bsu_beacon_params_t is now bsu_params_t which contains: * direction, TO PLC or FROM PLC. * frequency error as a 32bits with fixed point (30 bits after the dot). * tick offset corresponding to the offset of the NTB clock with the phy_date clock. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7035 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/bsu/inc')
-rw-r--r--cesar/bsu/inc/bsu.h3
-rw-r--r--cesar/bsu/inc/interface.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/cesar/bsu/inc/bsu.h b/cesar/bsu/inc/bsu.h
index 13eb65dea6..6b81623833 100644
--- a/cesar/bsu/inc/bsu.h
+++ b/cesar/bsu/inc/bsu.h
@@ -21,9 +21,8 @@ BEGIN_DECLS
* \param ctx the bsu context.
* \param beacon the beacon received.
* \param params the phy rx params.
- * \return the bsu_beacon_params computed.
*/
-bsu_beacon_params_t *
+void
bsu_beacon_process (bsu_t *ctx, pb_beacon_t *beacon,
pbproc_rx_beacon_params_t *params);
diff --git a/cesar/bsu/inc/interface.h b/cesar/bsu/inc/interface.h
index 720969db70..1f5af18ee0 100644
--- a/cesar/bsu/inc/interface.h
+++ b/cesar/bsu/inc/interface.h
@@ -28,8 +28,7 @@ BEGIN_DECLS
*/
void
bsu_beacon_send (bsu_t *ctx, bsu_beacon_type_t beacon_type,
- pb_beacon_t *beacon, bsu_beacon_params_t *bsu_params,
- void *bto_bpsto);
+ pb_beacon_t *beacon, void *bto_bpsto);
/**
* Receive a beacon from the medium.