summaryrefslogtreecommitdiff
path: root/mac/sar/test/maximus_test
diff options
context:
space:
mode:
authorlaranjeiro2007-09-11 09:19:00 +0000
committerlaranjeiro2007-09-11 09:19:00 +0000
commitf3d06bb00fac93f1c605eb4cfc0af7afeb9fa8b6 (patch)
treea1e27099035b9fb21e45717c00a2d5840df48638 /mac/sar/test/maximus_test
parente212ed516dcbcf390807a2cbe413f18220ca8b50 (diff)
* Modified the unit test after the modification of the mpdu_rx_process function name to rx_mpdu_process.
* Delete the unused test, which are done with maximus. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@694 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'mac/sar/test/maximus_test')
-rw-r--r--mac/sar/test/maximus_test/src/Sta_sar.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mac/sar/test/maximus_test/src/Sta_sar.c b/mac/sar/test/maximus_test/src/Sta_sar.c
index 029f4e48cd..3f0073994d 100644
--- a/mac/sar/test/maximus_test/src/Sta_sar.c
+++ b/mac/sar/test/maximus_test/src/Sta_sar.c
@@ -516,11 +516,13 @@ int reassembly_simu (fcall_ctx_t *fcall, fcall_param_t **param,
rx_params.tei = 0x1;
rx_params.bcast = false;
rx_params.date = 0x1234578;
+
+ // First MF.
sar_mpdu_add (&sar_ctx, NULL, NULL, &rx_params, pb_head, pb_tail, 3, NULL);
/** Launch the SAR to segment the msdu **/
sar_launch (0);
-
+
/** Launch the bridge dma with the buffer*/
sar_buffer_add (&sar_ctx.data_ctx, sar_buffer);
sar_launch (0);
@@ -583,6 +585,7 @@ int reassembly_real (fcall_ctx_t *fcall, fcall_param_t **param,
memcpy (&pb_curr->header, rea_buffer, sizeof(u32));
memcpy (pb_curr->data, (rea_buffer + sizeof(u32)), BLK_SIZE);
+ pb_curr->header.vpbf = true;
}
pb_last = pb_curr;