summaryrefslogtreecommitdiff
path: root/cesar/mac/pbproc/src/fsm_handle_fc.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/mac/pbproc/src/fsm_handle_fc.c')
-rw-r--r--cesar/mac/pbproc/src/fsm_handle_fc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/cesar/mac/pbproc/src/fsm_handle_fc.c b/cesar/mac/pbproc/src/fsm_handle_fc.c
index c698886701..72c5824743 100644
--- a/cesar/mac/pbproc/src/fsm_handle_fc.c
+++ b/cesar/mac/pbproc/src/fsm_handle_fc.c
@@ -91,7 +91,8 @@ pbproc_fhfc_handle_fc (pbproc_t *ctx, u32 rx_date, const pbproc_fc_t *fc_av)
ca_access_vcs_restart (ctx->ca, rx_date,
ctx->times.eifs_tck,
PBPROC_ANTICIP_TCK, true);
- phy_rx_activate (ctx->phy, true, 0, true);
+ phy_rx_activate (ctx->phy, false, rx_date + ctx->times.pre_fcs_tck
+ + PHY_RX_ACTIVATE_DELAY_AFTER_SHORT_TCK, true);
pbproc_fsm_change_state (ctx, PBPROC_FSM_STATE_IDLE);
/* Handle HP 1.0 detection. */
u32 fc10 = phy_rx_fc10 (ctx->phy);
@@ -123,7 +124,8 @@ pbproc_fhfc_handle_fc (pbproc_t *ctx, u32 rx_date, const pbproc_fc_t *fc_av)
ca_access_vcs_restart (ctx->ca, rx_date,
ctx->times.eifs_tck,
PBPROC_ANTICIP_TCK, true);
- phy_rx_activate (ctx->phy, true, 0, true);
+ phy_rx_activate (ctx->phy, false, rx_date + ctx->times.pre_fcs_tck
+ + PHY_RX_ACTIVATE_DELAY_AFTER_SHORT_TCK, true);
pbproc_fsm_change_state (ctx, PBPROC_FSM_STATE_IDLE);
}
}