summaryrefslogtreecommitdiff
path: root/cesar/ce/rx/measure.h
diff options
context:
space:
mode:
authordufour2009-09-22 10:58:57 +0000
committerdufour2009-09-22 10:58:57 +0000
commit7b8c594b288ee49890fa05703c1b588344efb322 (patch)
tree6efcd6e96e059ec1ac4776ef807cc13da50b0e8f /cesar/ce/rx/measure.h
parenta5fb5e4927ca70887187bec9a5a07650d69b9abf (diff)
* ce/rx (see #310):
- use a table of a pre-definied size rather than a variable one when configuring the PBProc for channel data. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5658 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/ce/rx/measure.h')
-rw-r--r--cesar/ce/rx/measure.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cesar/ce/rx/measure.h b/cesar/ce/rx/measure.h
index e3564f6cf1..b7c39c113a 100644
--- a/cesar/ce/rx/measure.h
+++ b/cesar/ce/rx/measure.h
@@ -22,6 +22,12 @@
#include "mac/sar/sar.h"
+/**
+ * Number of blocks required to get all the noise NRJ from the PBProc.
+ */
+#define CE_RX_MEASURE_CONF_SIZE \
+ ((PHY_CARRIER_NB + (BLK_SIZE / 4) - 1) / (BLK_SIZE / 4))
+
BEGIN_DECLS
/**