ieee80211_s1g_has_next_tbtt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ieee80211_s1g_has_next_tbtt ✨

okay bestie, welcome to the ieee80211_s1g_has_next_tbtt page from the Kernel API Manual πŸŽ€ this one is a tiny little helper, but it's lowkey iconic for what it does: it peeks at a frame control field and tells you if the next TBTT field is chillin' in there. no cap.


🌸 NAME 🌸

ieee80211_s1g_has_next_tbtt β€” check if IEEE80211_S1G_BCN_NEXT_TBTT πŸ’…

like, literally, that's the whole job. it's giving "vibe check for a beacon bit."


πŸ¦‹ SYNOPSIS πŸ¦‹

bool ieee80211_s1g_has_next_tbtt(__le16 fc);

one function, one argument, returns a bool. simple. clean. ate. πŸ”₯


πŸ’– ARGUMENTS πŸ’–

  • fc β€” frame control bytes in little-endian byteorder 🧚 yes bestie, little-endian, don't come at me with big-endian bytes, the function will not be having it.

⭐ RETURN ⭐

returns whether or not the frame contains the variable-length next TBTT field πŸ‘‘

so like: true = the next TBTT field is in there, false = it's not. that's the tea. πŸ“


πŸŽ€ SEE ALSO πŸŽ€

kernel file ./include/linux/ieee80211-s1g.h β€” that's where the magic lives, go read it iykyk πŸ“–πŸ’œ

and the whole friend group of related functions/types:

they're all besties, go say hi 🫢✨


ok real talk, it's a one-liner check on __le16 fc and nothing else. no hidden behaviour, no side quests. keep your byteorder right and you're golden πŸ†

that's the whole page, bestie, short and sweet like a good commit message πŸ˜­πŸ’– sourced from ./include/linux and dated October 2026 β€” mwah, go forth and parse those S1G beacons, you're gonna slay πŸŒˆπŸ‘‘πŸ’…

πŸ“¦ where this page comes from