summaryrefslogtreecommitdiff
path: root/cesar/ce/rx/rx.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/ce/rx/rx.h')
-rw-r--r--cesar/ce/rx/rx.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/cesar/ce/rx/rx.h b/cesar/ce/rx/rx.h
index ed866c28dd..3716d2f171 100644
--- a/cesar/ce/rx/rx.h
+++ b/cesar/ce/rx/rx.h
@@ -15,6 +15,7 @@
#include "mac/common/store.h"
#include "mac/sar/sar.h"
+#include "cp/types.h"
/**
* Context of the CE in RX mode (forward declaration).
@@ -42,6 +43,18 @@ ce_rx_init (mac_store_t *mac_store, sar_t *sar, pbproc_t *pbproc,
void
ce_rx_uninit (ce_rx_t *ce_rx);
+/**
+ * Ask for the CE RX to get the next noise NRJ (nsr) of a peer.
+ * \param ce_rx the CE in RX context.
+ * \param tei the TEI of the station from which we want the SNR.
+ * \param int_index the interval index on which we want the SNR.
+ * \param int_version the version of the intervals.
+ * \return true if the TEI, int_index and int_version is correct and exist.
+ */
+bool
+ce_rx_get_nsr (ce_rx_t *ce_rx, cp_tei_t tei, uint int_index,
+ uint int_version);
+
END_DECLS
#endif /* ce_rx_rx_h */