summaryrefslogtreecommitdiff
path: root/hal/phy/src/phy.c
diff options
context:
space:
mode:
authorburet2008-02-25 17:49:46 +0000
committerburet2008-02-25 17:49:46 +0000
commit94e656411960bc97d155c7d9c6e1461b9995512d (patch)
treed94f22269d5c32281d1bdec723f82aa0198bde87 /hal/phy/src/phy.c
parent7ca22bc9610eed5a558200dc57b54eadbe3ef677 (diff)
Maximus V2: implement the TX false alarm feature.
+ enhance network clock get next element function + replace SAR_MSDU_PAYLOAD_SIZE by the new define of common/defs/ethernet.h git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1458 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'hal/phy/src/phy.c')
-rw-r--r--hal/phy/src/phy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hal/phy/src/phy.c b/hal/phy/src/phy.c
index 2e5fa8093c..e80be6d07c 100644
--- a/hal/phy/src/phy.c
+++ b/hal/phy/src/phy.c
@@ -129,7 +129,7 @@ phy_dsr (cyg_vector_t vector, cyg_ucount32 count, cyg_addrword_t data)
phy_t *
phy_init (void *user_data, phy_rx_fc_cb_t rx_fc_cb, phy_access_cb_t access_cb,
phy_access_conf_cb_t access_conf_cb, phy_pbdma_cb_t pbdma_cb,
- phy_deferred_cb_t deferred_cb)
+ phy_tx_false_alarm_cb_t tx_false_alarm_cb, phy_deferred_cb_t deferred_cb)
{
/* Initialise context. */
phy_t *ctx = &phy_global;
@@ -138,6 +138,7 @@ phy_init (void *user_data, phy_rx_fc_cb_t rx_fc_cb, phy_access_cb_t access_cb,
ctx->access_cb = access_cb;
ctx->access_conf_cb = access_conf_cb;
ctx->pbdma_cb = pbdma_cb;
+ ctx->tx_false_alarm_cb = tx_false_alarm_cb;
ctx->deferred_cb = deferred_cb;
ctx->extra_timer_user_data = NULL;
ctx->extra_timer_cb = NULL;