#ifndef mac_pbproc_inc_fsm_tx_rts_cts_h #define mac_pbproc_inc_fsm_tx_rts_cts_h /* Cesar project {{{ * * Copyright (C) 2007 Spidcom * * <<>> * * }}} */ /** * \file mac/pbproc/inc/fsm_tx_rts_cts.h * \brief FSM TX RTS CTS part. * \ingroup mac_pbproc */ BEGIN_DECLS /** * Initialise FSM TX RTS CTS part. * \param ctx pbproc context */ void pbproc_ftrc_init (pbproc_t *ctx); /** * Handle a TX RTS CTS, called from FSM top. * \param ctx pbproc context */ void pbproc_ftrc__handle (pbproc_t *ctx); /** * TX WAIT CTS =RX=FC=>. * \param ctx pbproc context * \param rx_date start of preamble date * \param fc_av frame control, or NULL if FCCS error */ void pbproc_ftrc__tx_wait_cts__rx_fc (pbproc_t *ctx, u32 rx_date, const pbproc_fc_t *fc_av); /** * TX WAIT CTS =ACCESS=>. * \param ctx pbproc context */ void pbproc_ftrc__tx_wait_cts__access (pbproc_t *ctx); END_DECLS #endif /* mac_pbproc_inc_fsm_tx_rts_cts_h */