summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-12-19 20:58:59 +0100
committerJohannes Berg <johannes.berg@intel.com>2023-12-21 20:35:16 +0100
commitf7e3ab5c33834c0a699ef4b53417cfa2df2bca26 (patch)
tree1998c965841b411dfbade9ccf293c2d1fd47980c /drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h
parentwifi: iwlwifi: Add rf_mapping of new wifi7 devices (diff)
downloadlinux-f7e3ab5c33834c0a699ef4b53417cfa2df2bca26.tar.xz
linux-f7e3ab5c33834c0a699ef4b53417cfa2df2bca26.zip
wifi: iwlwifi: mvm: add US/Canada MCC to API
We don't want to duplicate the definitions later, so add them to the API. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Reviewed-by: Gregory Greenman <gregory.greenman@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://msgid.link/20231219215605.6595e905997b.I12354d31676911b29ab30c81a4e9b87f59284d3b@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h b/drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h
index dfe0bebabc81..7ec959244ffc 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h
+++ b/drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h
@@ -269,6 +269,9 @@ struct iwl_nvm_access_complete_cmd {
__le32 reserved;
} __packed; /* NVM_ACCESS_COMPLETE_CMD_API_S_VER_1 */
+#define IWL_MCC_US 0x5553
+#define IWL_MCC_CANADA 0x4341
+
/**
* struct iwl_mcc_update_cmd - Request the device to update geographic
* regulatory profile according to the given MCC (Mobile Country Code).