STRUCT IWL_MVM_ADD_STA_KEY_CMD_V1(9)
π 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 atstruct iwl_mvm_add_sta_key_commonfor 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 isTSC[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, theTSC[2], the10-byteTTAK, 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
- 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