summaryrefslogtreecommitdiff
path: root/cesar/test_general
diff options
context:
space:
mode:
authorschodet2009-05-07 09:13:14 +0000
committerschodet2009-05-07 09:13:14 +0000
commit22d00d3c62064e2eb8875918b8701969baee04c0 (patch)
tree78169ab9d45e569c020c7e3948bf023c3099d3f2 /cesar/test_general
parentd5cc71994c491bcdb4997a5eeb30b76ac90e2681 (diff)
* mac/pbproc, mac/sar (closes #364):
- provide RX MPDU in a block taken from RX pool. - commit received frames in common deferred callback. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@4608 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/test_general')
-rw-r--r--cesar/test_general/maximus/integration/interface-dp/src/station.c4
-rw-r--r--cesar/test_general/station/common/src/ce_stub.c4
2 files changed, 2 insertions, 6 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 4aa6d2f87b..b865fbdf68 100644
--- a/cesar/test_general/maximus/integration/interface-dp/src/station.c
+++ b/cesar/test_general/maximus/integration/interface-dp/src/station.c
@@ -86,7 +86,7 @@ typedef struct station_test_t station_test_t;
struct ce_rx_params_node_t
{
list_node_t node;
- pbproc_rx_params_t *rx_params;
+ pbproc_rx_params_t rx_params;
};
typedef struct ce_rx_params_node_t ce_rx_params_node_t;
@@ -432,7 +432,7 @@ bool ce_measurements (void *user, pbproc_rx_params_t *rx_params, uint pb_nb,
ce_node = blk_alloc ();
list_init_node (&ce_node->node);
list_push (&ce_rx_params_list, &ce_node->node);
- ce_node->rx_params = rx_params;
+ ce_node->rx_params = *rx_params;
if (chandata)
{
diff --git a/cesar/test_general/station/common/src/ce_stub.c b/cesar/test_general/station/common/src/ce_stub.c
index d02d92bdec..c434d79d9e 100644
--- a/cesar/test_general/station/common/src/ce_stub.c
+++ b/cesar/test_general/station/common/src/ce_stub.c
@@ -24,10 +24,6 @@ ce_measurement (void *user, pbproc_rx_params_t *rx_params,
uint pb_nb, blk_t **first_blk, blk_t **last_blk,
pb_t *chan_data, uint nb_chandata, uint *blk_offset)
{
- // Add a ref on the rx_params to release it in this function.
- blk_addref (rx_params);
- blk_release (rx_params);
-
if (nb_chandata)
blk_release_desc_range_nb ((blk_t *) chan_data, nb_chandata);