aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index a520e47a5eb6..664a983acdab 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -498,6 +498,10 @@ struct iwl_sensitivity_ranges {
498 498
499#define IWL_FAT_CHANNEL_52 BIT(IEEE80211_BAND_5GHZ) 499#define IWL_FAT_CHANNEL_52 BIT(IEEE80211_BAND_5GHZ)
500 500
501#define KELVIN_TO_CELSIUS(x) ((x)-273)
502#define CELSIUS_TO_KELVIN(x) ((x)+273)
503
504
501/** 505/**
502 * struct iwl_hw_params 506 * struct iwl_hw_params
503 * @max_txq_num: Max # Tx queues supported 507 * @max_txq_num: Max # Tx queues supported