linux/drivers/net/wireless/intel/iwlwifi/fw/api
Haim Dreyfuss 4da46a06d4 wifi: iwlwifi: mvm: Add support for wowlan info notification
IMR (Isolated Memory Regions) is a mechanism to protect memory regions
from unwarranted access by agents in the system that should not have access
to that memory.

When IMR is enabled, pages in the DRAM will be located within the IMR
memory space, accessible only by the device.
As a side effect, during S4 (a.k.a hibernate) the IMR memory space
is not retained.

While the DRAM is saved to the disk and restored by the OS upon resume,
the IMR, which is hidden from the OS neither saved upon suspend nor
restored upon resume.

As a consequence of the above, it turned out that commands cannot
be sent as part of the resume flow, and so after ending
d3 the FW needs to use notifications instead of cmd-resp.

The resume flow becomes asynchronous, with a series
of notifications, starting with wowlan_info_notif, through
wowlan_pkt_notif and complete the resume flow by d3_end_notif.

This patch adds the support for wowlan info notification.

The wake packet has been removed from the wowlan info struct
and will be handled in a dedicated notification.

Signed-off-by: Yedidya Benshimol <yedidya.ben.shimol@intel.com>
Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20220906161827.3ce8deefd929.Ieba8610e8bb4bec788076371ae38becb4a3d20d5@changeid
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
2022-09-18 14:40:15 +03:00
..
alive.h iwlwifi: mvm: remove card state notification code 2021-12-21 12:38:16 +02:00
binding.h
cmdhdr.h
coex.h
commands.h brcmfmac 2022-03-11 13:00:17 -08:00
config.h iwlwifi: remove unused DC2DC_CONFIG_CMD definitions 2022-02-18 10:40:52 +02:00
context.h
d3.h wifi: iwlwifi: mvm: Add support for wowlan info notification 2022-09-18 14:40:15 +03:00
datapath.h iwlwifi: mvm: update BAID allocation command again 2022-02-18 10:40:55 +02:00
dbg-tlv.h iwlwifi: fw: Replace zero-length arrays with flexible-array members 2022-04-06 10:18:08 +03:00
debug.h iwlwifi: fw: Replace zero-length arrays with flexible-array members 2022-04-06 10:18:08 +03:00
filter.h iwlwifi: fw: Replace zero-length arrays with flexible-array members 2022-04-06 10:18:08 +03:00
led.h
location.h iwlwifi: mvm: Support new version of ranging response notification 2021-10-22 10:49:01 +03:00
mac-cfg.h iwlwifi: mvm: offload channel switch timing to FW 2022-02-18 10:40:49 +02:00
mac.h iwlwifi: mvm: support v3 of station HE context command 2022-02-18 10:40:51 +02:00
nvm-reg.h iwlwifi: mvm: Disable WiFi bands selectively with BIOS 2022-02-18 10:40:54 +02:00
offload.h wifi: iwlwifi: mvm: Add support for wowlan info notification 2022-09-18 14:40:15 +03:00
paging.h
phy-ctxt.h iwlwifi: mvm: add support for PHY context command v4 2021-12-07 20:06:36 +02:00
phy.h iwlwifi: mvm: add support for CT-KILL notification version 2 2022-02-18 10:40:51 +02:00
power.h iwlwifi: mvm: add a flag to reduce power command. 2022-03-10 09:23:26 +02:00
rfi.h iwlwifi: mvm: rfi: handle deactivation notification 2022-02-18 10:40:54 +02:00
rs.h brcmfmac 2022-03-11 13:00:17 -08:00
rx.h wifi: iwlwifi: mvm: fix typo in struct iwl_rx_no_data API 2022-09-18 14:40:12 +03:00
scan.h iwlwifi: fw: Replace zero-length arrays with flexible-array members 2022-04-06 10:18:08 +03:00
sf.h
sta.h iwlwifi: fw: Replace zero-length arrays with flexible-array members 2022-04-06 10:18:08 +03:00
stats.h iwlwifi: mvm: add support for statistics update version 15 2021-12-07 20:06:40 +02:00
system.h iwlwifi: mvm/api: define system control command 2021-12-07 20:06:45 +02:00
tdls.h iwlwifi: fw: Replace zero-length arrays with flexible-array members 2022-04-06 10:18:08 +03:00
time-event.h
tx.h iwlwifi: api: remove ttl field from TX command 2022-02-18 10:40:55 +02:00
txq.h iwlwifi: cfg: add support for 1K BA queue 2022-02-18 10:40:50 +02:00