summaryrefslogtreecommitdiff
path: root/ce
diff options
context:
space:
mode:
authorburet2008-02-25 17:49:46 +0000
committerburet2008-02-25 17:49:46 +0000
commit94e656411960bc97d155c7d9c6e1461b9995512d (patch)
treed94f22269d5c32281d1bdec723f82aa0198bde87 /ce
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 'ce')
-rw-r--r--ce/test/rx/maximus/overide/mac/pbproc/src/pbproc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/ce/test/rx/maximus/overide/mac/pbproc/src/pbproc.c b/ce/test/rx/maximus/overide/mac/pbproc/src/pbproc.c
index f4f1654de2..6c1319a0f8 100644
--- a/ce/test/rx/maximus/overide/mac/pbproc/src/pbproc.c
+++ b/ce/test/rx/maximus/overide/mac/pbproc/src/pbproc.c
@@ -83,6 +83,11 @@ bool phy_pbdma_cb (void *user, u32 status_word)
return true;
}
+bool phy_tx_false_alarm_cb (void *user)
+{
+ return true;
+}
+
void phy_deferred_cb (void *user)
{
return;
@@ -191,7 +196,7 @@ pbproc_init (mac_config_t *config, mac_store_t *store)
pbproc_t *pbproc_ctx = &pbproc_global;
pbproc_ctx->config = config;
// Initialize the HAL PHY
- phy_ctx = phy_init ((void *)&user_data, &phy_rx_fc_cb, &phy_access_cb, &phy_access_conf_cb, &phy_pbdma_cb, &phy_deferred_cb);
+ phy_ctx = phy_init ((void *)&user_data, &phy_rx_fc_cb, &phy_access_cb, &phy_access_conf_cb, &phy_pbdma_cb, &phy_tx_false_alarm_cb, &phy_deferred_cb);
mac_ntb_init (phy_ctx, config);
// Enable assertions on warnings