ieee80211_sta_usable_bw(9)
π 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, okurrbandβ 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 π§
- Kernel file
./net/mac80211/sta_info.cSTA information lifetime rules(9) β yes the classic, go read it π sta_info_free(9)ieee80211_sta_bw_capability(9)ieee80211_sta_current_bw(9)
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
- 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