#ifndef ce_tx_tx_h #define ce_tx_tx_h /* Cesar project {{{ * * Copyright (C) 2007 Spidcom * * <<>> * * }}} */ /** * \file ce/tx/tx.h * \brief Channel Estimation in transmit mode. * \ingroup ce_tx */ #include "cp/cp.h" #include "cp/mme.h" /** * Context of the CE in TX mode (forward declaration). */ typedef struct ce_tx_t ce_tx_t; BEGIN_DECLS /** * Initialize the context of the CE in TX. * \param cp the Control Place context. */ void ce_tx_init (cp_t *cp); /** * Process a CM_CHAN_EST.IND MME. * \param ctx control plane context * \param mme a CM_CHAN_EST.IND MME. * * Update the mac_store tonemaps list. */ void ce_tx_process__cm_chan_est_ind (cp_t *ctx, cp_mme_rx_t *mme); /** * Process a CM_TM_UPDATE.IND MME. * \param ctx control plane context * \param mme a CM_CHAN_EST.IND MME. * * Update the mac_store tonemaps list. */ void ce_tx_process__cm_update_tm_ind (cp_t *ctx, cp_mme_rx_t *mme); /** * Update TX tone maps (by expiring some). * \param ctx Control Place context. * * This function expire tone maps from a STA is they are here for more than 30 * seconds without any update (no CM_CHAN_EST.IND received). * * @warning: this function must be called every one second. */ void ce_tx_update_tone_map (cp_t *ctx); END_DECLS #endif /* ce_tx_tx_h */