STRUCT IWL_RX_HANDLER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct iwl_rx_handler(9) πŸ¦‹

okay bestie, welcome to the Kernel API Manual ✨ we're talking about struct iwl_rx_handler and honestly? it's giving "handler for FW notification" and it ate πŸ’…


🌸 NAME 🌸

struct iwl_rx_handler β€” the handler for FW notification, no cap 🫢


✨ SYNOPSIS ✨

struct iwl_rx_handler {
    union {
      bool (*val_fn)(struct iwl_mld *mld, struct iwl_rx_packet *pkt);
      const struct iwl_notif_struct_size *sizes;
    };
    void (*fn)(struct iwl_mld *mld, struct iwl_rx_packet *pkt);
    u16 cmd_id;
    u8 n_sizes;
    u8 context;
    enum iwl_mld_object_type obj_type;
    bool (*cancel)(struct iwl_mld *mld, struct iwl_rx_packet *pkt, u32
obj_id);
 };

literally the whole vibe is right there πŸ‘‘ copy it exactly, don't be weird about it πŸ™ˆ


πŸŽ€ Members πŸŽ€

  • {unnamed_union} β€” anonymous, she has no name and she doesn't need one πŸ’… (an anonymous union, bestie)
  • val_fn β€” the input validation function. she checks your vibe before anything else gets through ⭐
  • sizes β€” an array that maps a version to the expected size πŸ“ lowkey the lookup table of the group chat
  • fn β€” the function that's called when the notification is handled πŸ”₯ main character energy fr fr
  • cmd_id β€” the command id 🏷️ that's it, that's the whole thing
  • n_sizes β€” how many elements are in sizes πŸ”’ count her blessings
  • context β€” see iwl_rx_handler_context 🧚 context is everything, iykyk
  • obj_type β€” the type of object this handler is related to, see iwl_mld_object_type πŸ‘‘ and if it's not related to anything? use IWL_MLD_OBJECT_TYPE_NONE 🫢
  • cancel β€” function to cancel the notification 🚫 valid only if obj_type is not IWL_MLD_OBJECT_TYPE_NONE β€” like, that's the rule, don't test her πŸ’€

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/mld/mld.h πŸ“
  • Introduction(9)
  • Locking policy(9)
  • Debugfs(9)
  • Main resources(9)
  • struct iwl_mld(9)
  • struct iwl_mld_mod_params(9)
  • enum iwl_rx_handler_context(9)
  • struct iwl_notif_struct_size(9)

all of these are your study buddies, go read them 🌸


ngl bestie, get the obj_type / cancel situation right or it's giving undefined vibes 😭

that's the whole page, periodt πŸ’– this cutie came from ./drivers/net/wireless/intel/i... (that's the source/version line) and it's dated October 2026, and the manual is struct iwl_rx_handler(9) β€” slay, go handle some FW notifications πŸ¦‹βœ¨πŸŽ€

πŸ“¦ where this page comes from