STRUCT IWL_RX_HANDLER(9)
π¦ 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 chatfnβ the function that's called when the notification is handled π₯ main character energy fr frcmd_idβ the command id π·οΈ that's it, that's the whole thingn_sizesβ how many elements are insizesπ’ count her blessingscontextβ seeiwl_rx_handler_contextπ§ context is everything, iykykobj_typeβ the type of object this handler is related to, seeiwl_mld_object_typeπ and if it's not related to anything? useIWL_MLD_OBJECT_TYPE_NONEπ«Άcancelβ function to cancel the notification π« valid only ifobj_typeis notIWL_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 theobj_type/cancelsituation 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
- 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