summaryrefslogtreecommitdiff
path: root/cesar/maximus
diff options
context:
space:
mode:
authorschodet2010-02-11 12:05:55 +0000
committerschodet2010-02-11 12:05:55 +0000
commit333baa0308956770ec7d873908e8c1f517259d7c (patch)
tree62d93857700556167734bc517c9f4c0de03f0fa0 /cesar/maximus
parent57e53d07adfd01ab44471102ec0ecf39a967d3d4 (diff)
cesar/hal/phy: add TCC half iteration number support, closes #517
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6699 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/maximus')
-rw-r--r--cesar/maximus/stationtest/src/main_example.c5
-rw-r--r--cesar/maximus/stationtest/src/test_false_alarm.c5
-rw-r--r--cesar/maximus/stationtest/src/test_send.c4
-rw-r--r--cesar/maximus/stationtest/src/test_tx_rx.c4
4 files changed, 10 insertions, 8 deletions
diff --git a/cesar/maximus/stationtest/src/main_example.c b/cesar/maximus/stationtest/src/main_example.c
index 78aa221065..447e2e3acf 100644
--- a/cesar/maximus/stationtest/src/main_example.c
+++ b/cesar/maximus/stationtest/src/main_example.c
@@ -26,8 +26,9 @@ bool phy_rx_fc_cb (void *user, u32 rx_date, const u32 *fc_av)
{
diag_write_string("=> phy_rx_fc_cb\n");
- phy_rx_prepare(phy, PHY_COMBO_PARAMS (PHY_MOD_MINI_ROBO, PHY_FEC_RATE_1_2,
- PHY_PB_SIZE_136), PHY_GIL_567, 0);
+ phy_rx_prepare(phy, 1,
+ PHY_COMBO_PARAMS (PHY_MOD_MINI_ROBO, PHY_FEC_RATE_1_2,
+ PHY_PB_SIZE_136), PHY_GIL_567, 0, 1);
return true;
}
diff --git a/cesar/maximus/stationtest/src/test_false_alarm.c b/cesar/maximus/stationtest/src/test_false_alarm.c
index e04e012de0..17646a86c5 100644
--- a/cesar/maximus/stationtest/src/test_false_alarm.c
+++ b/cesar/maximus/stationtest/src/test_false_alarm.c
@@ -30,8 +30,9 @@ bool phy_rx_fc_cb (void *user, u32 rx_date, const u32 *fc_av)
// Reset IT
maximus_pending_isrs &= (0 << PHY_HAL_INTERRUPT_PHY);
- phy_rx_prepare(ctx, PHY_COMBO_PARAMS (PHY_MOD_MINI_ROBO, PHY_FEC_RATE_1_2,
- PHY_PB_SIZE_136), PHY_GIL_567, 0);
+ phy_rx_prepare(ctx, 1,
+ PHY_COMBO_PARAMS (PHY_MOD_MINI_ROBO, PHY_FEC_RATE_1_2,
+ PHY_PB_SIZE_136), PHY_GIL_567, 0, 1);
return true;
}
diff --git a/cesar/maximus/stationtest/src/test_send.c b/cesar/maximus/stationtest/src/test_send.c
index f5017df4e4..269b78185d 100644
--- a/cesar/maximus/stationtest/src/test_send.c
+++ b/cesar/maximus/stationtest/src/test_send.c
@@ -40,8 +40,8 @@ bool phy_rx_fc_cb (void *user, u32 rx_date, const u32 *fc_av)
diag_write_string("=> phy_rx_fc_cb\n");
// When the FC is received, prepare RX
- phy_rx_prepare(ctx, PHY_COMBO_PARAMS (mod, fecrate, pb_size),
- (phy_gil_t)gil, 0);
+ phy_rx_prepare(ctx, 1, PHY_COMBO_PARAMS (mod, fecrate, pb_size),
+ (phy_gil_t)gil, 0, 1);
return true;
}
diff --git a/cesar/maximus/stationtest/src/test_tx_rx.c b/cesar/maximus/stationtest/src/test_tx_rx.c
index 32b3f719d6..9295ebb0bc 100644
--- a/cesar/maximus/stationtest/src/test_tx_rx.c
+++ b/cesar/maximus/stationtest/src/test_tx_rx.c
@@ -132,8 +132,8 @@ bool phy_rx_fc_cb (void *user, u32 rx_date, const u32 *fc_av)
maximus_pending_isrs &= (0 << PHY_HAL_INTERRUPT_PHY);
// When the FC is received, prepare RX
- phy_rx_prepare(ctx, PHY_COMBO_PARAMS (mod, fecrate, pb_size),
- (phy_gil_t)gil, 0);
+ phy_rx_prepare(ctx, 1, PHY_COMBO_PARAMS (mod, fecrate, pb_size),
+ (phy_gil_t)gil, 0, 1);
return true;
}