ieee80211_has_pm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ ieee80211_has_pm(9) β€” the Kernel API Manual glow-up ✨

okay so bestie, welcome to the ieee80211_has_pm(9) page, straight out of the Kernel API Manual πŸ’… this one is a tiny little legend and honestly it's giving "small but mighty", so let's get into it 🫢


🌸 NAME 🌸

ieee80211_has_pm β€” literally checks if IEEE80211_FCTL_PM is set. that's the whole vibe check, no cap ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

bool ieee80211_has_pm (__le16 fc );

πŸŽ€ ARGUMENTS πŸŽ€

  • fc β€” the frame control bytes, but they've gotta be in little-endian byteorder bestie, that's the assignment πŸ“

πŸ’– RETURN πŸ’–

it returns whether or not the power management flag is set 🫑 so like, true if it's there, false if it's not β€” the most honest little bool in the whole kernel fr fr ⭐


🌈 SEE ALSO 🌈

okay this section is long and it absolutely ate πŸ‘‘ first up, the source of truth:

  • Kernel file ./include/linux/ieee80211.h πŸ’«

then the frame-control siblings, aka the has_* squad β€” same energy, different flags 🧚

the frame type checkers, the "is this even a data frame" girlies 🌸

subtype checkers, a whole sorority of them πŸ’…

the info-element structs and that one enum, highkey the most aesthetic crowd πŸŽ€

  • struct ieee80211_quiet_ie(9), struct ieee80211_msrment_ie(9), struct ieee80211_channel_sw_ie(9), struct ieee80211_ext_chansw_ie(9), struct ieee80211_sec_chan_offs_ie(9), struct ieee80211_wide_bw_chansw_ie(9), struct ieee80211_tim_ie(9), struct ieee80211_tpc_report_ie(9), struct ieee80211_bss_load_elem(9), struct ieee80211_timeout_interval_ie(9), enum ieee80211_idle_options(9), struct ieee80211_bss_max_idle_period_ie(9), struct ieee80211_bssid_index(9), struct ieee80211_multiple_bssid_configuration(9)

the getters and the robust-mgmt / action crew, they're carrying the whole header tbh 😭πŸ”₯

like, that's the whole roster and every single one of them is linked πŸ‘‘ no gatekeeping here πŸ’œ


ngl bestie, this is a one-liner function and the SEE ALSO is longer than the function itself. balance. harmony. iconic behaviour πŸ’€βœ¨

and that's the page!! brought to you by the source in ./include/linux, dated October 2026 🌸 the header said ieee80211_has_pm(9) and the footer said the same thing, so we're bookending this little masterpiece πŸŽ€ mwah, go check your frame control flags, ily, bye πŸ«ΆπŸ’–

πŸ“¦ where this page comes from