ieee80211_sta_current_bw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« ieee80211_sta_current_bw(9) πŸ’«

okay so bestie, welcome to the Kernel API Manual β€” yes that's the manual name, we're fancy now πŸ‘‘ β€” and today's main character is ieee80211_sta_current_bw, which is literally just "hey, how much bandwidth can this STA actually use right now?"


✨ NAME ✨

ieee80211_sta_current_bw β€” get STA's current usable bandwidth πŸ¦‹


🌸 SYNOPSIS 🌸

enum ieee80211_sta_rx_bandwidth ieee80211_sta_current_bw (struct
link_sta_info *link_sta , struct cfg80211_chan_def *chandef , enum
ieee80211_sta_bw_direction direction );

like, the vibe: you hand it a link STA, a chandef, and a direction, and it hands you back an enum ieee80211_sta_rx_bandwidth. iconique πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • link_sta β€” the (link) STA to get the bandwidth for 🫢 that's your girl right there
  • chandef β€” the chandef for the channel the STA is on πŸ“‘ gotta know where she's sitting
  • direction β€” the direction (to or from STA) πŸ” yes bestie, direction matters, it's giving nuance

πŸ”₯ RETURN πŸ”₯

the maximum bandwidth that the station can/may (currently) use in the given direction ✨

like β€” key word currently β€” it's the max she's allowed right now, not some forever-promise, ngl πŸ’€


🌈 SEE ALSO 🌈

go read those too, they're literally the friend group of this function πŸ§šπŸ’œ


lowkey a reminder bestie: all the real technical tea lives in the sections above β€” I'm just here for the vibes, not to invent new behavior πŸ™ˆ

and that's the whole page, periodt πŸ“ this little beauty lives in ./net/mac80211 and it's dated October 2026 β€” catch you in the next release, mwah πŸ’–β­πŸ‘‘

πŸ“¦ where this page comes from