STRUCT IWL_MVM_MGMT_MCAST_KEY_CMD(9)
π struct iwl_mvm_mgmt_mcast_key_cmd(9) π
okay so bestie, welcome to the Kernel API Manual β yes that's the actual manual name, and yes we are absolutely reading struct docs for fun now, that's just the energy we're on β¨
This one lives in the wireless corner of the kernel and she's the IGTK command struct. Her whole personality is MGMT_MCAST_KEY = 0x1f and honestly? iconic. π
πΈ NAME πΈ
struct iwl_mvm_mgmt_mcast_key_cmd β the IGTK command, aka MGMT_MCAST_KEY = 0x1f π
Like, that's it, that's the whole vibe. She's a command struct and she knows it.
β¨ SYNOPSIS β¨
here's the shape of her, no cap, copy it exactly:
struct iwl_mvm_mgmt_mcast_key_cmd {
__le32 ctrl_flags;
u8 igtk[32];
__le32 key_id;
__le32 sta_id;
__le64 receive_seq_cnt;
};
five fields, zero notes, she said "keep it clean" π«Ά
π¦ Members π¦
okay bestie let's go field by field, we're doing this properly:
ctrl_flagsβ these are the control flags, and they're typed asenum iwl_sta_key_flag. so, y'know, key flag enum energy πigtkβ the IGTK master key. that's the actual key material, a wholeu8array of32of them, living her life πkey_idβ the key ID. short king. literally just the ID of the key πsta_idβ the station ID that support IGTK. (yes, that's the original wording and we're respecting it β the station that supports IGTK π«Ά)receive_seq_cntβ the initial RSC/PN that you need for the replay check. important!! it's the anti-replay starting point, do not skip her β
π₯ SEE ALSO π₯
so this struct does not exist alone, she has a whole friend group, and the kernel file she hangs out in is:
./drivers/net/wireless/intel/iwlwifi/fw/api/sta.h
and here's the full squad, fr fr, all of them:
enum iwl_sta_flags(9)enum iwl_sta_key_flag(9)enum iwl_sta_modify_flag(9)enum iwl_sta_mode(9)enum iwl_sta_sleep_flag(9)struct iwl_mvm_add_sta_cmd_v7(9)enum iwl_sta_type(9)struct iwl_mvm_add_sta_cmd(9)struct iwl_mvm_add_sta_key_common(9)struct iwl_mvm_add_sta_key_cmd_v1(9)struct iwl_mvm_add_sta_key_cmd(9)enum iwl_mvm_add_sta_rsp_status(9)struct iwl_mvm_rm_sta_cmd(9)struct iwl_mvm_mgmt_mcast_key_cmd_v1(9)struct iwl_mvm_eosp_notification(9)
like, genuinely a whole group chat π go read them, iykyk π
ok one tiny heads up bestie: nothing dangerous here, but do keep in mind receive_seq_cnt is the replay check starting point β that's the security-relevant bit, so treat her with respect okay? π
and that's the page!! π§ source is ./drivers/net/wireless/intel/i..., dated October 2026, and the header/footer keep serving that struct iwl_...cast_key_cmd(9) look. mwah, love u, go slay some wifi frames ππ
πΈ
π¦ 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