linux/drivers/net/wireless/intel/iwlwifi/mvm
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
..
binding.c
coex.c wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
constants.h iwlwifi: mvm: change old-SN drop threshold 2021-12-21 12:35:06 +02:00
d3.c wifi: iwlwifi: mvm: Add support for wowlan info notification 2022-09-18 14:40:15 +03:00
debugfs-vif.c wifi: mac80211: move some future per-link data to bss_conf 2022-06-20 12:55:01 +02:00
debugfs.c wifi: mac80211: keep A-MSDU data in sta and per-link 2022-09-06 10:17:08 +02:00
debugfs.h
ftm-initiator.c wifi: iwlwifi: mvm: fix clang -Wformat warnings 2022-07-27 13:47:56 +03:00
ftm-responder.c wifi: mac80211: move some future per-link data to bss_conf 2022-06-20 12:55:01 +02:00
fw-api.h iwlwifi: mvm/api: define system control command 2021-12-07 20:06:45 +02:00
fw.c iwlwifi: mvm: add OTP info in case of init failure 2022-05-18 12:54:08 +02:00
led.c
mac-ctxt.c wifi: mac80211: return a beacon for a specific link 2022-06-20 12:57:08 +02:00
mac80211.c wifi: iwlwifi: mvm: refactor iwl_mvm_set_sta_rate() a bit 2022-09-18 14:40:13 +03:00
Makefile
mvm.h wifi: iwlwifi: mvm: don't check D0I3 version 2022-09-18 14:40:14 +03:00
nvm.c
offloading.c wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
ops.c wifi: iwlwifi: mvm: Add support for wowlan info notification 2022-09-18 14:40:15 +03:00
phy-ctxt.c iwlwifi: mvm: move only to an enabled channel 2022-02-18 10:40:55 +02:00
power.c wifi: mac80211: move ps setting to vif config 2022-07-15 11:43:15 +02:00
quota.c wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
rfi.c iwlwifi: mvm: rfi: use kmemdup() to replace kzalloc + memcpy 2022-02-18 10:40:56 +02:00
rs-fw.c wifi: mac80211: keep A-MSDU data in sta and per-link 2022-09-06 10:17:08 +02:00
rs.c wifi: mac80211: keep A-MSDU data in sta and per-link 2022-09-06 10:17:08 +02:00
rs.h
rx.c iwlwifi: mvm: always tell the firmware to accept MCAST frames in BSS 2022-05-18 12:54:08 +02:00
rxmq.c wifi: iwlwifi: mvm: rxmq: further unify some VHT/HE code 2022-09-18 14:40:13 +03:00
scan.c wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
sf.c wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
sta.c wifi: mac80211: make smps_mode per-link 2022-09-06 10:11:44 +02:00
sta.h iwlwifi: mvm: offload channel switch timing to FW 2022-02-18 10:40:49 +02:00
tdls.c wifi: mac80211: move some future per-link data to bss_conf 2022-06-20 12:55:01 +02:00
testmode.h
time-event.c wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
time-event.h
tt.c iwlwifi: mvm: add support for CT-KILL notification version 2 2022-02-18 10:40:51 +02:00
tx.c wifi: mac80211: keep A-MSDU data in sta and per-link 2022-09-06 10:17:08 +02:00
utils.c wifi: mac80211: make some SMPS code MLD-aware 2022-06-20 12:55:30 +02:00
vendor-cmd.c iwlwifi: mvm: return value for request_ownership 2022-03-02 22:37:25 +01:00