ieee80211_sta_usable_bw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ieee80211_sta_usable_bw(9)

okay bestie, welcome to the Kernel API Manual β€” this little page is all about ieee80211_sta_usable_bw, and honestly? it's giving "small function, big responsibilities" energy. let's get into it πŸ¦‹


✨ NAME ✨

ieee80211_sta_usable_bw β€” get STA's usable bandwidth capability 🌈

like, the whole point is finding out how much bandwidth your station can actually use. icon behaviour, no cap.


πŸŽ€ SYNOPSIS πŸŽ€

enum ieee80211_sta_rx_bandwidth ieee80211_sta_usable_bw (struct
link_sta_info *link_sta , enum nl80211_band band );

she takes two things and she returns an enum ieee80211_sta_rx_bandwidth. periodt πŸ’…


🌸 ARGUMENTS 🌸

  • link_sta β€” the (link) STA you wanna get the capability for 🫢 this is the main character of the query, okurr
  • band β€” the band you wanna get the capability on ✨ like, which band are we checking here bestie

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” if the STA is on an AP interface, this function takes into account the AP's bandwidth corresponding to this station's PHY capability. literally it's factoring in both sides of the connection so the answer is actually accurate. the way that it just knows πŸ˜­πŸ‘‘


πŸ‘‘ RETURN πŸ‘‘

it returns the maximum bandwidth supported by the STA on the connection to the interface it's connected to πŸ’– so like, the ceiling. the limit. the most she can do on that connection, bestie.


🧚 SEE ALSO 🧚

all the siblings in the same friend group, fr fr 🌸


ngl, if you're poking around bandwidth stuff, read the whole little squad up there before you go changing anything πŸ™ˆ

and that's the page!! from ./net/mac80211, dated October 2026, in the Kernel API Manual β€” mwah, love u, go write some good code πŸ’œπŸŽ€βœ¨

πŸ“¦ where this page comes from