STRUCT IWL_MVM_ADD_STA_KEY_CMD(9)
π¦ struct iwl_mvm_add_sta_key_cmd(9) π¦
okay bestie, so this is a page from the Kernel API Manual and it's literally all about adding and modifying a station key π yes, that kind of key, the crypto kind, not your house key, not your car key, none of that.
β¨ NAME β¨
struct iwl_mvm_add_sta_key_cmd β add/modify sta key π
like it's giving "one struct to rule them all" and honestly? it ate.
πΈ SYNOPSIS πΈ
here's the whole vibe, character for character, no cap:
struct iwl_mvm_add_sta_key_cmd {
struct iwl_mvm_add_sta_key_common common;
__le64 rx_mic_key;
__le64 tx_mic_key;
__le64 transmit_seq_cnt;
};
look at her. four fields. main character energy fr fr π«Ά
π Members π
okay so let's meet the cast π
commonβ peepstruct iwl_mvm_add_sta_key_commonfor the deets on this one, she's the shared queen of the group πrx_mic_keyβ the TKIP RX unicast or multicast key π§ like, receive-side MIC, ifykyktx_mic_keyβ the TKIP TX key π« transmit side, doing her thingtransmit_seq_cntβ TSC, aka the transmit packet number π’ the little counter that keeps track, obsessed
β Note β
ngl this is the important bit, so listen up bestie π
This struct is used for both v2 and v3 β the difference being in the way the common.rx_secur_seq_cnt is used: in v2 that's the strange hole format, in v3 it's just a u64. literally that's the whole plot twist π
π SEE ALSO π
the whole friend group, all of them, no one left out π«Άπ
Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/sta.h also: 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), 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)
and that's the whole page, bestie π sourced from ./drivers/net/wireless/intel/i..., dated October 2026, filed under struct iwl_m..._sta_key_cmd(9) β slay, go read your kernel headers, mwah πβ¨
π¦ 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