STRUCT IL_RB_STATUS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct il_rb_status(9) ✨

okay so bestie, welcome to the <pink>Kernel API Manual</pink> πŸ’… this one's a struct, she's tiny, she's in drivers/net/wireless/intel/iwlegacy/, and she's here to tell you about reseve buffer status host memory mapped FH registers πŸŽ€ (yes, "reseve" β€” that's the original's spelling, not me being sloppy, i promise 😭)


🌸 NAME 🌸

struct il_rb_status β€” reseve buffer status host memory mapped FH registers πŸ’–

like... that's literally her whole job. she holds the status bits, mmkay?


✨ SYNOPSIS ✨

struct il_rb_status {
    __le16 closed_rb_num;
    __le16 closed_fr_num;
    __le16 finished_rb_num;
    __le16 finished_fr_nam;
    __le32 __unused;
 };

that's it. four __le16s and a __le32 named __unused who is just vibing in the back not participating 🫢


πŸŽ€ Members πŸŽ€

bestie these are the members, look at them, they're iconic:

  • closed_rb_num β€” the field itself
  • closed_fr_num β€” also a field
  • finished_rb_num β€” a field
  • finished_fr_nam β€” a field (yes, nam. that's what's written. no i will not be fixing it, don't @ me πŸ™ˆ)
  • __unused β€” a __le32, unused, doing nothing, main character energy honestly πŸ‘‘

πŸ’… Description πŸ’…

okay so here's the tea on what each field actually means, and note the [0:11] bit ranges because those matter, no cap:

  • closed_rb_num [0:11] β€” Indicates the idx of the RB which was closed 🌸
  • closed_fr_num [0:11] β€” Indicates the idx of the RX Frame which was closed ✨
  • finished_rb_num [0:11] β€” Indicates the idx of the current RB in which the last frame was written to πŸ¦‹
  • finished_fr_num [0:11] β€” Indicates the idx of the RX Frame which was transferred πŸ”₯
⚠️ side eye moment: the struct member is spelled finished_fr_nam up in the synopsis, but the description calls it finished_fr_num. both of these are exactly what the page says, so i'm giving you both and letting you decide how to feel about it 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/wireless/intel/iwlegacy/common.h β€” go read it, she's the source of truth πŸ’–

and then the whole squad, in order:


mwah πŸ’‹ that's the page! source/version vibes come from ./drivers/net/wireless/intel/i... (truncated just like that, the terminal said so, not me πŸ“) and the date is October 2026 ⭐ so like, future queen behavior fr fr. take care of her, she's struct il_rb_status(9) and she ate πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from