STRUCT IWL_NVM_ACCESS_CMD(9)
π struct iwl_nvm_access_cmd(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for struct iwl_nvm_access_cmd, and honestly? it's giving "tiny struct, big job" energy. π
β¨ NAME β¨
struct iwl_nvm_access_cmd β literally the request you send so the device hands over an NVM section. that's the whole vibe. π«Ά
πΈ SYNOPSIS πΈ
struct iwl_nvm_access_cmd {
u8 op_code;
u8 target;
__le16 type;
__le16 offset;
__le16 length;
u8 data[];
};
no cap, that's the whole shape of it. β¨
π¦ Members π¦
op_codeβ the operation, and it's anenum iwl_nvm_access_op. so like, what are we even doing here.targetβ which target we're talking to, typed asenum iwl_nvm_access_target.typeβ the section type,enum iwl_nvm_section_type. basically which NVM section we're obsessed with rn.offsetβ offset in bytes into the section. yes bestie, bytes. count them carefully. πlengthβ in bytes, to read/write. so how much of the section we're grabbing (or yeeting in).dataβ if write operation, the data to write. On read its empty. that's it, that's the flex. π
π SEE ALSO π
lowkey the best part, because this struct has so many friends. main character energy by association fr fr. π
- Kernel file
./drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h enum iwl_regulatory_and_nvm_subcmd_ids(9)enum iwl_nvm_access_op(9)enum iwl_nvm_access_target(9)enum iwl_nvm_section_type(9)struct iwl_nvm_access_resp(9)enum iwl_nvm_info_general_flags(9)struct iwl_nvm_get_info_general(9)enum iwl_nvm_mac_sku_flags(9)struct iwl_nvm_get_info_sku(9)struct iwl_nvm_get_info_phy(9)struct iwl_nvm_get_info_regulatory_v1(9)struct iwl_nvm_get_info_regulatory_v2(9)struct iwl_nvm_get_info_rsp_v3(9)struct iwl_nvm_get_info_rsp_v4(9)struct iwl_nvm_get_info_regulatory(9)struct iwl_nvm_get_info_rsp(9)struct iwl_nvm_access_complete_cmd(9)struct iwl_mcc_update_cmd(9)enum iwl_geo_information(9)struct iwl_mcc_update_resp_v3(9)struct iwl_mcc_update_resp_v4(9)struct iwl_mcc_update_resp_v8(9)struct iwl_mcc_chub_notif(9)struct iwl_tas_config_cmd_common(9)struct iwl_tas_config_cmd_v3(9)enum iwl_tas_uhb_allowed_flags(9)struct iwl_tas_config_cmd_v4(9)enum bios_source(9)struct iwl_bios_config_hdr(9)struct iwl_lari_config_extension_cmd(9)struct bios_value_u32(9)struct iwl_tas_config_cmd(9)enum iwl_lari_config_masks(9)struct iwl_lari_config_change_cmd_v1(9)struct iwl_lari_config_change_cmd_v6(9)struct iwl_lari_config_change_cmd_v8(9)struct iwl_lari_config_change_cmd(9)struct iwl_pnvm_init_complete_ntfy(9)struct iwl_mcc_allowed_ap_type_cmd_v1(9)struct iwl_mcc_allowed_ap_type_cmd(9)
likeβ¦ a whole friend group. iykyk. π
ngl bestie, this is kernel API territory β read the header, check the enums, don't go guessing at field behaviour. the struct tells you the fields, not the whole story. π§
mwah, that's the page π
β¨ this cutie came out of ./drivers/net/wireless/intel/i..., dated October 2026, and it's filed under struct iwl_nvm_access_cmd(9). slay, go read the header bestie ππ¦
π¦ 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