diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-05-15 11:44:49 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-05-16 23:18:06 +0200 |
commit | dfcb4c3aacedee6838e436fb575b31e138505203 (patch) | |
tree | 1aec9e47af28f6eaec7d90cf508ef4494b96a7ec /drivers/net/wireless/iwlwifi/mvm/fw-api-d3.h | |
parent | 60191d99a9a472aef07d9e023f47a2503ae51f00 (diff) | |
download | lwn-dfcb4c3aacedee6838e436fb575b31e138505203.tar.gz lwn-dfcb4c3aacedee6838e436fb575b31e138505203.zip |
iwlwifi: mvm: adjust firmware D3 configuration API
The D3 firmware API changed to include a new field, adjust
the driver to it to avoid getting an NMI when configuring.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/fw-api-d3.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/fw-api-d3.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/fw-api-d3.h b/drivers/net/wireless/iwlwifi/mvm/fw-api-d3.h index 51e015d1dfb2..6f8b2c16ae17 100644 --- a/drivers/net/wireless/iwlwifi/mvm/fw-api-d3.h +++ b/drivers/net/wireless/iwlwifi/mvm/fw-api-d3.h @@ -75,13 +75,15 @@ enum iwl_d3_wakeup_flags { * struct iwl_d3_manager_config - D3 manager configuration command * @min_sleep_time: minimum sleep time (in usec) * @wakeup_flags: wakeup flags, see &enum iwl_d3_wakeup_flags + * @wakeup_host_timer: force wakeup after this many seconds * * The structure is used for the D3_CONFIG_CMD command. */ struct iwl_d3_manager_config { __le32 min_sleep_time; __le32 wakeup_flags; -} __packed; /* D3_MANAGER_CONFIG_CMD_S_VER_3 */ + __le32 wakeup_host_timer; +} __packed; /* D3_MANAGER_CONFIG_CMD_S_VER_4 */ /* TODO: OFFLOADS_QUERY_API_S_VER_1 */ |