aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/fw/api/commands.h
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2020-09-28 12:23:10 +0300
committerLuca Coelho <luciano.coelho@intel.com>2020-10-01 21:59:33 +0300
commit216cdfb5225fba6632778b6116f192b60fe795ff (patch)
treee437cced384705bfaf4d293ed7bf243cb19ce9b2 /drivers/net/wireless/intel/iwlwifi/fw/api/commands.h
parent38cb52dd4e8643fffd288f173fbb8a3fad50d09d (diff)
downloadlinux-216cdfb5225fba6632778b6116f192b60fe795ff.tar.gz
linux-216cdfb5225fba6632778b6116f192b60fe795ff.tar.bz2
linux-216cdfb5225fba6632778b6116f192b60fe795ff.zip
iwlwifi: add a common struct for all iwl_tx_power_cmd versions
Create a common structure to contain all different versions of the tx_power_cmd instead of making a union of the different structs everywhere we need them. Also move the common part of these structs into a separate structure (instead of reusing v3) and leave the per_chain_restriction part out of the common part, because this will change in version 6 of the command (which will be added soon). While at it, rename per_chain_restriction to per_chain to shorten it. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20200928121852.4f0bea9fe077.Ib3b540a8288af32d6fa213448e13f82763f85bc9@changeid Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/api/commands.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/fw/api/commands.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/api/commands.h b/drivers/net/wireless/intel/iwlwifi/fw/api/commands.h
index 4f46f3ed8794..42e81c174205 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/api/commands.h
+++ b/drivers/net/wireless/intel/iwlwifi/fw/api/commands.h
@@ -431,8 +431,7 @@ enum iwl_legacy_cmds {
/**
* @REDUCE_TX_POWER_CMD:
- * &struct iwl_dev_tx_power_cmd_v3 or &struct iwl_dev_tx_power_cmd_v4
- * or &struct iwl_dev_tx_power_cmd
+ * &struct iwl_dev_tx_power_cmd
*/
REDUCE_TX_POWER_CMD = 0x9f,