summaryrefslogtreecommitdiff
path: root/cesar/ce/rx/rx.h
diff options
context:
space:
mode:
authordufour2009-10-01 12:50:15 +0000
committerdufour2009-10-01 12:50:15 +0000
commitad9be1e983ab4ccd68c31fc9dd8e7eaa57ab5db8 (patch)
treea92cf6e6deca20efe067911c67ebcb86b057d770 /cesar/ce/rx/rx.h
parent122231a0b1b1c0a4ed44ffe878ee272d133c1e4b (diff)
* ce/rx (see #595):
- add a function for the CP to ask for the next SNR to the CE RX. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5865 017c9cb6-072f-447c-8318-d5b54f68fe89
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 */