ieee80211_uhr_dbe_bw_mhz(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ieee80211_uhr_dbe_bw_mhz (section 9, kernel API manual, bestie)

okay so like, hi, welcome to the group chat πŸ’– today we're looking at ieee80211_uhr_dbe_bw_mhz from the kernel API manual β€” yes it's a section 9 page, yes it's a whole vibe, and yes I'm gonna explain it to you like you're my bestie who just got her first kernel tree. no gatekeeping here 🫢


✨ NAME ✨

ieee80211_uhr_dbe_bw_mhz β€” okay so this function is literally the "what bandwidth am I working with, in MHz?" girlie πŸ’… you hand her a UHR DBE bandwidth and she hands you back the actual number in megahertz. it's giving translator icon, periodt.


🌸 SYNOPSIS 🌸

int ieee80211_uhr_dbe_bw_mhz (enum ieee80211_uhr_dbe_oper_bw bw );

so she returns an int, and she takes exactly one thing: an enum ieee80211_uhr_dbe_oper_bw named bw. that's it. that's the whole function signature. no cap. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • bw β€” the UHR DBE bandwidth πŸ¦‹ like, this is the value you're asking about. you give her the bandwidth, she tells you what it is in MHz. simple as that, iykyk.

πŸ‘‘ RETURN πŸ‘‘

she returns the bandwidth in MHz πŸ’š β€” and if the value is invalid? she returns -1. that's the "bestie this is not a real thing" signal 🚩 so like, check for that, fr fr. don't be out here treating a -1 like a real bandwidth unless you want chaos 😭

heads up bestie: -1 is what you get for invalid values. that's the entire failure mode listed here, so if you see -1, the value you handed her wasn't valid. periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

literally the whole friend group, go say hi πŸ’œ

  • Kernel file ./include/linux/ieee80211-uhr.h β€” struct ieee80211_uhr_npca_info(9)
  • struct ieee80211_uhr_dps_info(9)
  • enum ieee80211_uhr_dbe_oper_bw(9)
  • struct ieee80211_uhr_dbe_info(9)
  • struct ieee80211_uhr_p_edca_info(9)
  • enum ieee80211_uhr_dbe_max_supported_bw(9)
  • ieee80211_uhr_capa_get_om_pu_to_us(9)

like, if this page was your main character, those are the supporting cast 🌈 and honestly the enum ieee80211_uhr_dbe_oper_bw(9) one is right there since that's literally the type of our argument. obsessed. πŸ”₯


⭐ the cute sign-off ⭐

this lil page lives over in ./include/linux πŸŽ€ and it's dated October 2026 β€” yes, future girlie energy 🌸 the manual page is ieee80211_uhr_dbe_bw_mhz(9) and that's the whole thing, slay, bye bestie πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from