summaryrefslogtreecommitdiff
path: root/cesar/test_general/maximus/integration/interface-dp
diff options
context:
space:
mode:
authorlaranjeiro2009-12-17 16:48:23 +0000
committerlaranjeiro2009-12-17 16:48:23 +0000
commitdd4775293c21fad1aa7fe1730fbbb3b13f4e476f (patch)
tree72d44025c32d1968fe76eb426549e993e787a845 /cesar/test_general/maximus/integration/interface-dp
parent7ab04c74809a4b1e69e3c8e0e19d7e62b2fb142a (diff)
cesar/{mac/sar,ce/rx}: compute the number of PB CRC error for the CE, closes #858
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6566 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/test_general/maximus/integration/interface-dp')
-rw-r--r--cesar/test_general/maximus/integration/interface-dp/src/station.c33
1 files changed, 6 insertions, 27 deletions
diff --git a/cesar/test_general/maximus/integration/interface-dp/src/station.c b/cesar/test_general/maximus/integration/interface-dp/src/station.c
index d9efd239d3..015a3e203a 100644
--- a/cesar/test_general/maximus/integration/interface-dp/src/station.c
+++ b/cesar/test_general/maximus/integration/interface-dp/src/station.c
@@ -395,31 +395,10 @@ cp_init (void)
&station_test.cp_thread);
}
-/**
- * CE measurements. To be replace by the CE function to get the measurements
- *
- * Pb measurement RX callback for Channel estimation.
- * This call back will return one or two block in order to insert all the
- * measurements contained in each PB of the mpdu received.
- * Two cases can happen, the first the pb_nb is lesser than the blk capacity,
- * this callback will return only a blk pointed by the first and the last
- * pointer.
- * In the second case the quantity of PB are greater than one blk capacity, this
- * callback will return two blk (chained) the first pointed by the first pointer
- * and the last one by the last pointer.
- *
- * \param user User data
- * \param rx_params Frame control information to know date and tonemap used
- * \param number of pbs
- * \param first blk to insert the measurements.
- * \param last blk to insert the measurements.
- * \param chandata chan data measurements
- *
- * \return boolean to indicate if a block had been returned or not.
- */
-bool ce_measurements (void *user, pbproc_rx_params_t *rx_params, uint pb_nb,
- blk_t **first, blk_t **last, pb_t *chandata, uint nb_chandata, uint
- *blk_offset)
+bool
+ce_measurements_none (void *user, pbproc_rx_params_t *rx_params, uint pb_nb,
+ blk_t **first, blk_t **last, pb_t *chandata,
+ uint nb_chandata, u8 **ce_pb_crc_error)
{
ce_rx_params_node_t *ce_node;
@@ -437,7 +416,7 @@ bool ce_measurements (void *user, pbproc_rx_params_t *rx_params, uint pb_nb,
{
blk_release (chandata);
}
-
+ *ce_pb_crc_error = NULL;
return false;
}
@@ -563,7 +542,7 @@ cyg_user_start (void)
// Stub the CE functionalities.
sar_init_measure_context (station_test.sar, station_test.sar);
- sar_init_measurement_cb (station_test.sar, ce_measurements);
+ sar_init_measurement_cb (station_test.sar, ce_measurements_none);
// Stub the interface communication with the CP.
interface_callback_init (station_test.interface, cp_mme_recv,