summaryrefslogtreecommitdiff
path: root/cesar/mac/sar/test/functional/src/sar_tx.c
diff options
context:
space:
mode:
authorlaranjeiro2009-09-02 12:45:53 +0000
committerlaranjeiro2009-09-02 12:45:53 +0000
commitc5293b43e8e12e7926f6a7c95b904cb4125e535a (patch)
tree19be32d943d6c95745c24e79af409c22fa6ced21 /cesar/mac/sar/test/functional/src/sar_tx.c
parentf5e78d30033c4223199ac85f61abb07da895ade5 (diff)
*mac/sar, cl, cesar, ce (Closes #478)
*mac/sar: * Added a random generator object to the SAR for MME's confounder. * Changed the sar_msdu_add API. *cl: * Removed the random generator specially used for MME's confounder. * Fix the SAR functions call. *cesar: * Fix the sar_init call. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5395 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/mac/sar/test/functional/src/sar_tx.c')
-rw-r--r--cesar/mac/sar/test/functional/src/sar_tx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cesar/mac/sar/test/functional/src/sar_tx.c b/cesar/mac/sar/test/functional/src/sar_tx.c
index b8cb3995cd..a4836d553c 100644
--- a/cesar/mac/sar/test/functional/src/sar_tx.c
+++ b/cesar/mac/sar/test/functional/src/sar_tx.c
@@ -83,9 +83,9 @@ prepare_test (test_t test)
sar_mfs_add (sar_ctx, (mfs_t *)mfs);
/* Add the first frame. */
- sar_msdu_add (sar_ctx, buffer, 1434, 0x0, mfs, NULL, 123);
+ sar_msdu_add (sar_ctx, buffer, 1434, mfs, NULL, 123);
/* Add the second frame. */
- sar_msdu_add (sar_ctx, buffer, 1334, 0x0, mfs, NULL, 123);
+ sar_msdu_add (sar_ctx, buffer, 1334, mfs, NULL, 123);
/* Release the reference on the MFS. */
blk_release (mfs);
@@ -178,7 +178,7 @@ test_thread_process (cyg_addrword_t data)
/* Initialise the test. */
mac_ntb_init ((phy_t *) &phy, &mac_config);
mac_store = mac_store_init ();
- sar_ctx = sar_init (mac_store, (pbproc_t *) &pbproc, (ca_t *) &ca);
+ sar_ctx = sar_init (mac_store, (pbproc_t *) &pbproc, (ca_t *) &ca, 0x1);
sar_activate (sar_ctx, true);
sar_init_data_context (sar_ctx, sar_ctx);