diff options
| author | Haim Dreyfuss <[email protected]> | 2022-09-06 13:42:13 +0000 |
|---|---|---|
| committer | Gregory Greenman <[email protected]> | 2022-09-18 11:40:15 +0000 |
| commit | 219ed58feda9829a3df595aad65bdaacb005512d (patch) | |
| tree | 0641b2cc66e07276b9e73b47097821379598f3de /drivers/net/wireless/intel/iwlwifi/fw/api/d3.h | |
| parent | wifi: iwlwifi: mvm: Add support for wowlan info notification (diff) | |
| download | kernel-219ed58feda9829a3df595aad65bdaacb005512d.tar.gz kernel-219ed58feda9829a3df595aad65bdaacb005512d.zip | |
wifi: iwlwifi: mvm: Add support for wowlan wake packet notification
The wowlan info notification is quite big.
(~750 bytes without the wake packet itself).
The max FW notification size is ~2K.
There might be cases where the wake packet gets truncated because of
this limit.
Separating the wake packet from the wowlan info notification allows us to
get more data without trimming it.
Note: we currently limit the wake packet to 1600 bytes.
Signed-off-by: Yedidya Benshimol <[email protected]>
Signed-off-by: Haim Dreyfuss <[email protected]>
Signed-off-by: Gregory Greenman <[email protected]>
Link: https://lore.kernel.org/r/20220906161827.06d1e6aecf10.Ib3d6a46ffe71d10cbc69bdb5654e6b14c28df245@changeid
Signed-off-by: Gregory Greenman <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/api/d3.h')
| -rw-r--r-- | drivers/net/wireless/intel/iwlwifi/fw/api/d3.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/api/d3.h b/drivers/net/wireless/intel/iwlwifi/fw/api/d3.h index 7b2501fe50e6..5588f6d65813 100644 --- a/drivers/net/wireless/intel/iwlwifi/fw/api/d3.h +++ b/drivers/net/wireless/intel/iwlwifi/fw/api/d3.h @@ -803,6 +803,20 @@ struct iwl_wowlan_info_notif { u8 reserved2[2]; } __packed; /* WOWLAN_INFO_NTFY_API_S_VER_1 */ +/** + * struct iwl_wowlan_wake_pkt_notif - WoWLAN wake packet notification + * @wake_packet_length: wakeup packet length + * @station_id: station id + * @reserved: unused + * @wake_packet: wakeup packet + */ +struct iwl_wowlan_wake_pkt_notif { + __le32 wake_packet_length; + u8 station_id; + u8 reserved[3]; + u8 wake_packet[1]; +} __packed; /* WOWLAN_WAKE_PKT_NTFY_API_S_VER_1 */ + /* TODO: NetDetect API */ #endif /* __iwl_fw_api_d3_h__ */ |
