ieee80211_s1g_has_next_tbtt(9)
β¨ 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:
ieee80211_is_s1g_beacon(9)ieee80211_s1g_has_ano(9)ieee80211_s1g_has_cssid(9)enum ieee80211_s1g_chanwidth(9)enum ieee80211_s1g_pri_chanwidth(9)struct ieee80211_s1g_bcn_compat_ie(9)struct ieee80211_s1g_oper_ie(9)struct ieee80211_aid_response_ie(9)ieee80211_s1g_optional_len(9)ieee80211_is_s1g_short_beacon(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms