STRUCT IWL_MVM_ADD_STA_KEY_CMD_V1(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct iwl_mvm_add_sta_key_cmd_v1 β€” Kernel API Manual πŸŽ€

okay bestie, sit down, because we're about to get into struct iwl_mvm_add_sta_key_cmd_v1 and honestly? she's giving "small but mighty" energy. this is the v1 of the add/modify sta key command, straight out of the kernel API manual, and i'm obsessed. no cap, we're reading this whole thing together. 🫢


✨ NAME ✨

struct iwl_mvm_add_sta_key_cmd_v1 β€” add/modify sta key. that's it, that's the whole vibe. adding or modifying a station key, the v1 way. πŸ’–


🌸 SYNOPSIS 🌸

here's the literal shape of her, and yes you must keep every field exactly as written, we don't freestyle structs in this house:

struct iwl_mvm_add_sta_key_cmd_v1 {
    struct iwl_mvm_add_sta_key_common common;
    u8 tkip_rx_tsc_byte2;
    u8 reserved;
    __le16 tkip_rx_ttak[5];
 };

iconic. four fields, zero notes. πŸ¦‹


πŸ‘‘ Members πŸ‘‘

  • common β€” bestie this is the shared part, so go look at struct iwl_mvm_add_sta_key_common for the deets. she's literally the main character and the rest of the struct is just her supporting cast. ✨
  • tkip_rx_tsc_byte2 β€” this one is TSC[2] for key mix ph1 detection. yes, byte two, specifically, for that key mix ph1 detection moment. very specific, we respect it. πŸ’…
  • reserved β€” reserved. that's it. that's the description. she's reserved, literally and figuratively. πŸ™ˆ
  • tkip_rx_ttak β€” the 10-byte unicast TKIP TTAK for Rx. ten whole bytes. for receiving. TKIP. TTAK. say it three times fast, i dare you. 😭

πŸ’€ SEE ALSO πŸ’€

go read the whole friend group, they're all linked from the kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/sta.h:

  • 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(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_mgmt_mcast_key_cmd(9)
  • struct iwl_mvm_eosp_notification(9)

that's the whole squad, no membership fee, just vibes and header files. 🌈


ngl, quick vibe check: everything above is straight from the source β€” the struct fields, the byte counts, the TSC[2], the 10-byte TTAK, all of it. don't go inventing extra fields, bestie, the kernel will NOT be slaying if you do. πŸ’€

and that's the page!! 🌸 this iconic little number lives in ./drivers/net/wireless/intel/i..., dated October 2026, and it signs off the same way it came in: struct iwl_...a_key_cmd_v1(9). mwah, periodt. πŸ’‹βœ¨πŸŽ€

πŸ“¦ where this page comes from