STRUCT IWL_RX_HANDLERS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct iwl_rx_handlers(9) β€” Kernel API Manual, but make it a vibe πŸ¦‹

okay so bestie, welcome to the struct iwl_rx_handlers(9) page πŸ’– this is the Kernel API Manual, and today we're learning about the literal handler for FW notification. it's giving "small struct, big responsibilities" and honestly? iconic. no cap, it's just a few fields, so we'll be in and out in like two minutes ✨


🌸 NAME 🌸

struct iwl_rx_handlers β€” handler for FW notification πŸŽ€

like, that's literally the whole personality. it handles FW notifications. periodt.


✨ SYNOPSIS ✨

here's the whole shape of it, character for character, don't come for me:

struct iwl_rx_handlers {
    u16 cmd_id, min_size;
    enum iwl_rx_handler_context context;
    void (*fn)(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
 };

so yes, two u16s stacked on one line, a context that's an enum iwl_rx_handler_context, and a function pointer fn that takes a struct iwl_mvm *mvm and a struct iwl_rx_cmd_buffer *rxb. and it returns void, because we're not about that return-value life here πŸ’…


πŸ‘‘ MEMBERS πŸ‘‘

every field, every single one, no skipping, we're not that kind of girl:

  • cmd_id β€” command id πŸ†” that's it, that's the whole thing. it's the id of the command.
  • min_size β€” minimum size to expect for the notification πŸ“ lowkey important: this is the smallest size you should expect for that notification. don't come crying if it's smaller.
  • context β€” see iwl_rx_handler_context 🌈 it points you at the enum, so go read iwl_rx_handler_context(9) if you want the full lore.
  • fn β€” the function is called when notification is received πŸ“žπŸ”₯ this is your callback, main character energy β€” it gets invoked the moment the notification lands. signature is the one from the synopsis: (struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb), returns void.
🫢 tiny vibe check: fn fires when the notification is received β€” that's what the manpage says, and I'm not about to invent extra behaviour on top of it, bestie. iykyk.

πŸ¦‹ SEE ALSO πŸ¦‹

go touch grass in these files, they're all linked:

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/mvm/ops.c β€” the source of truth, go read it, it ate πŸ’€
  • enum iwl_rx_handler_context(9) β€” the enum behind the context field πŸ’œ

okay bestie that's the whole page, you ate that ngl 🌟 and for the sign-off, since you gotta know the receipts: this cutie came from ./drivers/net/wireless/intel/i... and it's dated October 2026 πŸŽ€ slay, bye πŸ§šπŸ’–

πŸ“¦ where this page comes from