From e4e2e2fe87ca1f0f5f0859d09fbf17d6fd8bcce6 Mon Sep 17 00:00:00 2001 From: schodet Date: Mon, 19 Jul 2010 12:22:16 +0000 Subject: cesar/mac/pbproc: handle beacon detection flag, refs #1763 git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7298 017c9cb6-072f-447c-8318-d5b54f68fe89 --- cesar/mac/pbproc/src/prep_mpdu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cesar/mac/pbproc/src/prep_mpdu.c') diff --git a/cesar/mac/pbproc/src/prep_mpdu.c b/cesar/mac/pbproc/src/prep_mpdu.c index a667cba3cf..86a84f8ba6 100644 --- a/cesar/mac/pbproc/src/prep_mpdu.c +++ b/cesar/mac/pbproc/src/prep_mpdu.c @@ -411,7 +411,7 @@ pbproc_prep_mpdu (pbproc_t *ctx) prep->rts_fc_av.words[1] = BF_FILL ( PBPROC_FC_RTS_CTS_W1, (CFS, access->cfp), - (BDF, true), /* TODO */ + (BDF, ctx->detect.beacon_detected), (HP10DF, ctx->detect.hp10_detected), (HP11DF, ctx->detect.hp11_detected), (RTSF, true), @@ -503,7 +503,7 @@ pbproc_prep_mpdu (pbproc_t *ctx) prep->fc_av.words[1] = BF_FILL ( PBPROC_FC_SOF_W1, (CFS, access->cfp), - (BDF, true), /* TODO */ + (BDF, ctx->detect.beacon_detected), (HP10DF, ctx->detect.hp10_detected), (HP11DF, ctx->detect.hp11_detected), (EKS, eks), @@ -1007,7 +1007,7 @@ pbproc_prep_mpdu_sound (pbproc_t *ctx, mfs_tx_t *mfs, uint fl_tck) PBPROC_FC_SOUND_W1, (CFS, ctx->access.cfp), (PBSZ, false), /* TODO */ - (BDF, true), /* TODO */ + (BDF, ctx->detect.beacon_detected), (SAF, false), (SCF, false), (REQ_TM, TONEMAP_MAX), -- cgit v1.2.3