Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Causes for TSF never increasing ? #397

Open
jcelerier opened this issue Aug 8, 2024 · 0 comments
Open

Causes for TSF never increasing ? #397

jcelerier opened this issue Aug 8, 2024 · 0 comments

Comments

@jcelerier
Copy link

Hello,
I'm trying to see how I can use TSF for synchronization.

But when I try to access it whenever I get a beacon, which I parse through NL80211_ATTR_BSS, I can see all the usual parameters changing, but not TSF :

if ( tb[NL80211_BSS_SIGNAL_MBM])
	bss->signal_mbm=mnl_attr_get_u32(tb[NL80211_BSS_SIGNAL_MBM]);

if ( tb[NL80211_BSS_SEEN_MS_AGO])
	bss->seen_ms_ago = mnl_attr_get_u32(tb[NL80211_BSS_SEEN_MS_AGO]);

if (tb[NL80211_BSS_TSF])
    bss->tsf = mnl_attr_get_u64(tb[NL80211_BSS_TSF]);

fprintf(stderr, "data: %u %u %lu !\n", bss->signal_mbm, bss->seen_ms_ago, bss->tsf);

here I see signal_mbm and seen_ms_ago moving so I know I'm getting new data, but tsf stays constant for any given wifi network I try. Do some hardware just not support TSF ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant