summaryrefslogtreecommitdiff
path: root/cesar/bsu/bsu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/bsu/bsu.h')
-rw-r--r--cesar/bsu/bsu.h26
1 files changed, 1 insertions, 25 deletions
diff --git a/cesar/bsu/bsu.h b/cesar/bsu/bsu.h
index 19d50eb06b..2b4649e8ea 100644
--- a/cesar/bsu/bsu.h
+++ b/cesar/bsu/bsu.h
@@ -35,38 +35,14 @@ enum bsu_update_sta_type_t
};
typedef enum bsu_update_sta_type_t bsu_update_sta_type_t;
-enum bsu_beacon_direction_t
-{
- BSU_BEACON_DIRECTION_TO_PLC,
- BSU_BEACON_DIRECTION_FROM_PLC,
- BSU_BEACON_DIRECTION_NB
-};
-typedef enum bsu_beacon_direction_t bsu_beacon_direction_t;
-
-/** BSU computed parameters. */
-struct bsu_params_t
-{
- /** Pbproc RX parameters. */
- pbproc_rx_beacon_params_t rx_parameters;
- /** Direction */
- bsu_beacon_direction_t direction;
- /** Frequency error. */
- s32 frequency_error;
- /** Tick offset, difference between the NTB and PHY Date clock. */
- u32 ntb_offset_tck;
-};
-typedef struct bsu_params_t bsu_params_t;
-
/** Function to call on beacon reception or beacon sending.
* \param ctx upper layer context.
* \param beacon the beacon sent or received.
- * \param bparams the BSU computed data.
* \warn the upper layer is responsible for releasing the reference on the
* beacon.
*/
typedef void
-(*bsu_beacon_processed_t) (void *ctx, pb_beacon_t *beacon,
- bsu_params_t *bparams);
+(*bsu_beacon_processed_t) (void *ctx, bsu_beacon_t *beacon);
BEGIN_DECLS