Hello all, Regarding the TSF, is there a way to read from an outside program the TSF to help stations or programs have a "synchronization" low level reference time? Any ideas would be appreciated! Thank you! Guido On Sat, 2012-06-16 at 22:26 +0300, Grazvydas Ignotas wrote: > Cast MSB part of current TSF to u64 to prevent loss of most > significant bits. MSB should also be shifted by 32. > > Patch based on old maemo patch by: > Yuri Kululin <ext-yuri.kululin@xxxxxxxxx> > Yuri Ershov <ext-yuri.ershov@xxxxxxxxx> > > Signed-off-by: Grazvydas Ignotas <notasas@xxxxxxxxx> > --- > drivers/net/wireless/ti/wl1251/acx.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/net/wireless/ti/wl1251/acx.c b/drivers/net/wireless/ti/wl1251/acx.c > index ad87a1a..db6430c 100644 > --- a/drivers/net/wireless/ti/wl1251/acx.c > +++ b/drivers/net/wireless/ti/wl1251/acx.c > @@ -869,7 +869,7 @@ int wl1251_acx_tsf_info(struct wl1251 *wl, u64 *mactime) > } > > *mactime = tsf_info->current_tsf_lsb | > - (tsf_info->current_tsf_msb << 31); > + ((u64)tsf_info->current_tsf_msb << 32); > > out: > kfree(tsf_info); -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html