summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/maximus
diff options
context:
space:
mode:
authorschodet2009-02-19 23:09:07 +0000
committerschodet2009-02-19 23:09:07 +0000
commit2dc27da782d6be0f5b26833cee72c7fa551a5757 (patch)
treea6ce8548a02fd187e6075e152e060adff4590eb3 /cesar/hal/phy/maximus
parent992283da048a3221c719c6deb5b23297aaf161f9 (diff)
* hal/phy:
- added phy_tx_cancel. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@4055 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/hal/phy/maximus')
-rw-r--r--cesar/hal/phy/maximus/inc/maximus_trace.h1
-rw-r--r--cesar/hal/phy/maximus/src/maximus_phy_ctrl.c9
-rw-r--r--cesar/hal/phy/maximus/src/maximus_trace.c1
3 files changed, 11 insertions, 0 deletions
diff --git a/cesar/hal/phy/maximus/inc/maximus_trace.h b/cesar/hal/phy/maximus/inc/maximus_trace.h
index db0a239e64..de18287c42 100644
--- a/cesar/hal/phy/maximus/inc/maximus_trace.h
+++ b/cesar/hal/phy/maximus/inc/maximus_trace.h
@@ -32,6 +32,7 @@ enum
MAXIMUS_PHY_TRACE_TX_PARAM,
MAXIMUS_PHY_TRACE_TX_PARAM_SOUND,
MAXIMUS_PHY_TRACE_TX_FRAME,
+ MAXIMUS_PHY_TRACE_TX_CANCEL,
MAXIMUS_PHY_TRACE_RX_PARAM,
MAXIMUS_PHY_TRACE_RX_ACTIVATE,
MAXIMUS_PHY_TRACE_RX_ACTIVATE_NOW,
diff --git a/cesar/hal/phy/maximus/src/maximus_phy_ctrl.c b/cesar/hal/phy/maximus/src/maximus_phy_ctrl.c
index 5768220bf9..6c72aa6c0c 100644
--- a/cesar/hal/phy/maximus/src/maximus_phy_ctrl.c
+++ b/cesar/hal/phy/maximus/src/maximus_phy_ctrl.c
@@ -2610,6 +2610,15 @@ phy_tx_prepare (phy_t *ctx)
}
+void
+phy_tx_cancel (phy_t *ctx)
+{
+ dbg_assert_ptr(ctx);
+ MAXIMUS_PHY_TRACE (TX_CANCEL);
+ maximus_phy_next_tx_frame_cancel(ctx);
+}
+
+
/**
* Store the STA SYS clock frequency error value relative to CCo clock in ppm,
* useful for interpolation block in the DSP.
diff --git a/cesar/hal/phy/maximus/src/maximus_trace.c b/cesar/hal/phy/maximus/src/maximus_trace.c
index 0ed9b45ed1..02e478e2e5 100644
--- a/cesar/hal/phy/maximus/src/maximus_trace.c
+++ b/cesar/hal/phy/maximus/src/maximus_trace.c
@@ -40,6 +40,7 @@ maximus_phy_trace_init (phy_t *ctx)
MAXIMUS_PHY_TRACE_EVENT (TX_FRAME,
"tx frame date=%x want_conf=%b "
"stop_on_prp_lost=%b fc=%x"),
+ MAXIMUS_PHY_TRACE_EVENT (TX_CANCEL, "tx cancel"),
MAXIMUS_PHY_TRACE_EVENT (RX_PARAM, "rx param mode=%u"),
MAXIMUS_PHY_TRACE_EVENT (RX_ACTIVATE,
"rx activate date=%x flag=%b"),