linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/8] wifi: ath12k: add support for WoW
@ 2024-05-30  7:27 Baochen Qiang
  2024-05-30  7:27 ` [PATCH v3 1/8] wifi: ath12k: add ATH12K_DBG_WOW log level Baochen Qiang
                   ` (8 more replies)
  0 siblings, 9 replies; 25+ messages in thread
From: Baochen Qiang @ 2024-05-30  7:27 UTC (permalink / raw)
  To: ath12k; +Cc: linux-wireless, quic_bqiang

Add support for WoW (Wakeup on Wireless) funtionalities, this including
magic-pattern, net-detect, disconnect and patterns, HW data filter, ARP
and NS offload, GTK rekey offload.

Also enable keepalive before suspend to avoid unexpected kick out by AP.

v3:
 - wifi: ath12k: add ATH12K_DBG_WOW log level
	1. new addition.
 - wifi: ath12k: support ARP and NS offload
	1. move ipv6 infomation parse to ath12k_wow_arp_ns_offload() to
	   avoid memory leak issue.
	2. move ARP/NS related definition from core.h to wmi.h
	3. rename ath12k_arp_ns_offlaod to wmi_arp_ns_offload_arg
	4. rename some macros
 - wifi: ath12k: support GTK rekey offload
	1. add rcu_read_lock/unlock in ath12k_wmi_gtk_offload_status_event()


v2:
 - [2/7] wifi: ath12k: add basic WoW functionalities
        1. In ath12k_wow_convert_8023_to_80211(), change to use 'size_t'
           instead of 'int' to make GCC happy
 - [5/7] wifi: ath12k: support ARP and NS offload
        1. In ath12k_mac_arvif_get_arp_ns_offload(), change to use
           GFP_ATOMIC to fix kernel crash due to sleep in invalid context
 - rebased on ToT

Baochen Qiang (8):
  wifi: ath12k: add ATH12K_DBG_WOW log level
  wifi: ath12k: implement WoW enable and wakeup commands
  wifi: ath12k: add basic WoW functionalities
  wifi: ath12k: add WoW net-detect functionality
  wifi: ath12k: implement hardware data filter
  wifi: ath12k: support ARP and NS offload
  wifi: ath12k: support GTK rekey offload
  wifi: ath12k: handle keepalive during WoWLAN suspend and resume

 drivers/net/wireless/ath/ath12k/Makefile |    1 +
 drivers/net/wireless/ath/ath12k/core.c   |   48 +-
 drivers/net/wireless/ath/ath12k/core.h   |   20 +
 drivers/net/wireless/ath/ath12k/debug.h  |    1 +
 drivers/net/wireless/ath/ath12k/htc.c    |    6 +
 drivers/net/wireless/ath/ath12k/mac.c    |  110 +++
 drivers/net/wireless/ath/ath12k/mac.h    |    4 +
 drivers/net/wireless/ath/ath12k/wmi.c    |  720 +++++++++++++++
 drivers/net/wireless/ath/ath12k/wmi.h    |  578 ++++++++++++
 drivers/net/wireless/ath/ath12k/wow.c    | 1012 ++++++++++++++++++++++
 drivers/net/wireless/ath/ath12k/wow.h    |   62 ++
 11 files changed, 2554 insertions(+), 8 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath12k/wow.c
 create mode 100644 drivers/net/wireless/ath/ath12k/wow.h


base-commit: 2580be9ee6f5d97d6763b5d4ae4f9c0383fdf130
-- 
2.25.1


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2024-06-21  5:26 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30  7:27 [PATCH v3 0/8] wifi: ath12k: add support for WoW Baochen Qiang
2024-05-30  7:27 ` [PATCH v3 1/8] wifi: ath12k: add ATH12K_DBG_WOW log level Baochen Qiang
2024-05-30 17:55   ` Jeff Johnson
2024-05-30 18:40     ` Kalle Valo
2024-05-30  7:27 ` [PATCH v3 2/8] wifi: ath12k: implement WoW enable and wakeup commands Baochen Qiang
2024-05-30  7:27 ` [PATCH v3 3/8] wifi: ath12k: add basic WoW functionalities Baochen Qiang
2024-05-30  7:27 ` [PATCH v3 4/8] wifi: ath12k: add WoW net-detect functionality Baochen Qiang
2024-06-20 11:10   ` Kalle Valo
2024-06-21  5:26     ` Baochen Qiang
2024-05-30  7:27 ` [PATCH v3 5/8] wifi: ath12k: implement hardware data filter Baochen Qiang
2024-05-30  7:27 ` [PATCH v3 6/8] wifi: ath12k: support ARP and NS offload Baochen Qiang
2024-05-30 18:26   ` Jeff Johnson
2024-05-31  3:42     ` Baochen Qiang
2024-05-31  3:49       ` Baochen Qiang
2024-05-31  5:11       ` Baochen Qiang
2024-05-31 17:26         ` Jeff Johnson
2024-06-03  2:47           ` Baochen Qiang
2024-06-03  2:48           ` Baochen Qiang
2024-06-03 14:22             ` Jeff Johnson
2024-06-03  9:32           ` Baochen Qiang
2024-06-03  7:36         ` Johannes Berg
2024-06-03  9:15           ` Baochen Qiang
2024-05-30  7:27 ` [PATCH v3 7/8] wifi: ath12k: support GTK rekey offload Baochen Qiang
2024-05-30  7:27 ` [PATCH v3 8/8] wifi: ath12k: handle keepalive during WoWLAN suspend and resume Baochen Qiang
2024-05-30 17:45 ` [PATCH v3 0/8] wifi: ath12k: add support for WoW Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).