summaryrefslogtreecommitdiff
path: root/cesar/bsu/ntb
diff options
context:
space:
mode:
authorlaranjeiro2010-07-26 15:43:56 +0000
committerlaranjeiro2010-07-26 15:43:56 +0000
commit90002ead05ae6aa9126cd726e5fc88f9d00fa6c4 (patch)
tree7d772b7ea7a25d485b96bef14d5eac3e1f529cfc /cesar/bsu/ntb
parente7b1bf0ff7517ce30507b267cc771bef39819b8f (diff)
cesar/bsu: fix beacon entry countdown change, closes #1758
Change the behavior of countdown handling for STA and CCo. BSU is now able to loose some central beacons and stay synchronized (nek, snid, hm) with the AVLN is tracks. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7313 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/bsu/ntb')
-rw-r--r--cesar/bsu/ntb/ntb_sync.h2
-rw-r--r--cesar/bsu/ntb/src/ntb.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/cesar/bsu/ntb/ntb_sync.h b/cesar/bsu/ntb/ntb_sync.h
index 9afe12db8c..e515ab3897 100644
--- a/cesar/bsu/ntb/ntb_sync.h
+++ b/cesar/bsu/ntb/ntb_sync.h
@@ -24,8 +24,6 @@ struct bsu_ntb_sync_t
* because the first computation of the frequency error is not equal to
* the others. */
bool second_shoot;
- /** Number of beacon processed. */
- u32 beacon_nb;
/** Frequency error. */
double fe;
/** beacon time stamp. */
diff --git a/cesar/bsu/ntb/src/ntb.c b/cesar/bsu/ntb/src/ntb.c
index bc61fe96d7..66fc6f3e31 100644
--- a/cesar/bsu/ntb/src/ntb.c
+++ b/cesar/bsu/ntb/src/ntb.c
@@ -100,7 +100,6 @@ bsu_ntb_clk_sync (bsu_ntb_sync_t * ctx, phy_t *phy, u32 beacon_bts,
double freq_error;
dbg_assert (ctx);
dbg_assert (phy);
- ctx->beacon_nb ++;
freq_error = ctx->fe;
bsu_ntb_frequency_error (ctx, freq_error, beacon_bts, beacon_sys_ltmr);
ctx->ntb_offset_tck= bsu_ntb_offset (ctx, phy, freq_error, beacon_bts,