STRUCT IWL_MCC_UPDATE_CMD(9)
π struct iwl_mcc_update_cmd β the group chat version
okay bestie, so we're deep in the kernel API manual for struct iwl_mcc_update_cmd and honestly? it's giving "please update my geographic regulatory profile" energy and I'm obsessed. πΊοΈβ¨
β¨ NAME β¨
struct iwl_mcc_update_cmd β this little cutie asks the device to update its geographic regulatory profile according to the given MCC (Mobile Country Code). π
so like, the MCC is a two-letter code, ascii upper case [A-Z], or '00' for the world domain. and yes, 'ZZ' is a whole vibe too: that MCC switches things over to the NVM default profile β and in that case the MCC you'll see in the cmd response is the relevant MCC in the NVM. no cap. π
πΈ SYNOPSIS πΈ
struct iwl_mcc_update_cmd {
__le16 mcc;
u8 source_id;
u8 reserved;
__le32 key;
u8 reserved2[20];
};
look at her. iconic. π
π¦ Members π¦
mccβ the given mobile country code, literally the whole point of this struct fr frsource_idβ the source from where we got the MCC, seeiwl_mcc_sourceπ«reservedβ reserved for alignment (bestie just needs her space to line up, respect it)keyβ integrity key for MCC API OEM testing πreserved2β reserved (yes, again β it's reserved, we don't ask questions) π
π SEE ALSO π
okay this is the part where she name-drops everyone in the building, and honestly? she knows everyone. kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h plus her entire extended friend group:
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_cmd(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)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)
quick vibe check: the MCC must be two letters, ascii upper case[A-Z], or'00'for world domain β and'ZZ'means "switch to NVM default profile", with the response then carrying the relevant MCC in the NVM. that part is not optional bestie, that's just how she is. π
and that's the page!! π«Ά this one came straight out of ./drivers/net/wireless/intel/i... β yes the path got cut off mid-word, she's mysterious like that π β dated October 2026, and it's all for struct iwl_mcc_update_cmd(9). slay, go read your regulatory profiles, 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