summaryrefslogtreecommitdiff
path: root/cesar/mac/pbproc/src/prep_mpdu.c
diff options
context:
space:
mode:
authorschodet2010-07-19 12:22:16 +0000
committerschodet2010-07-19 12:22:16 +0000
commite4e2e2fe87ca1f0f5f0859d09fbf17d6fd8bcce6 (patch)
tree00e807590b435e7c08149d32e91e863ae51b4a94 /cesar/mac/pbproc/src/prep_mpdu.c
parentb388e73eab9c6ed0114e7419c0db33347d2addb7 (diff)
cesar/mac/pbproc: handle beacon detection flag, refs #1763
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7298 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/mac/pbproc/src/prep_mpdu.c')
-rw-r--r--cesar/mac/pbproc/src/prep_mpdu.c6
1 files changed, 3 insertions, 3 deletions
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),