ieee80211_is_data_present(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ieee80211_is_data_present(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes, that's the manual name, we're doing this, and today's main character is ieee80211_is_data_present. it's a whole vibe check for frame control bytes, no cap πŸ¦‹


✨ NAME ✨

ieee80211_is_data_present β€” check if type is IEEE80211_FTYPE_DATA and has data πŸ’…

like, is this thing a data-type frame and does it actually carry data? two questions, one function, iconic behavior fr fr.


🌸 SYNOPSIS 🌸

bool ieee80211_is_data_present (__le16 fc );

she takes one little argument and gives you back a bool. simple. elegant. slay πŸŽ€


🧚 ARGUMENTS 🧚

  • fc β€” frame control bytes in little-endian byteorder 🫢

that's it, that's the whole input. just the raw frame control bytes, little-endian style. respect the byteorder or she will not respect you back πŸ’€


πŸ‘‘ RETURN πŸ‘‘

returns whether or not the frame is a QoS data frame that has data (i.e. is not null data) ⭐

so like β€” QoS data frame with actual data inside? yes bestie, true. null data? nope, false, that's giving "empty calories" energy πŸ™ˆ


🌈 SEE ALSO 🌈

the kernel file ./include/linux/ieee80211.h and honestly the entire friend group:

like I said. the whole group chat. go say hi to all of them πŸ’œ


okay that's the page!! mwah πŸ’‹ this came from ./include/linux, dated October 2026 β€” so yeah, future girlies are still out here checking frame control bytes, and honestly? we love that for us. stay little-endian, bestie, and go read some kernel headers πŸŒŸπŸ’–πŸŽ€

πŸ“¦ where this page comes from